PulseAudio input using the simple API.
More...
#include <pulse/simple.h>
#include <pulse/rtclock.h>
#include <pulse/error.h>
#include "libavformat/avformat.h"
#include "libavformat/internal.h"
#include "libavutil/time.h"
#include "libavutil/opt.h"
Go to the source code of this file.
PulseAudio input using the simple API.
- Author
- Luca Barbato lu_ze.nosp@m.ro@g.nosp@m.entoo.nosp@m..org
Definition in file pulse.c.
static pa_sample_format_t codec_id_to_pulse_format |
( |
int |
codec_id | ) |
|
|
static |
Initial value:= {
{
"fragment_size",
"buffering size, affects latency and cpu usage",
OFFSET(fragment_size),
AV_OPT_TYPE_INT, {.i64 = -1}, -1, INT_MAX,
D },
{
"wallclock",
"set the initial pts using the current time",
OFFSET(wallclock),
AV_OPT_TYPE_INT, {.i64 = 1}, -1, 1,
D },
}
static const uint8_t frame_size[4]
Definition at line 167 of file pulse.c.
Initial value:= {
.class_name = "Pulse demuxer",
}
static const AVOption options[]
av_default_item_name
Return the context name.
Definition at line 179 of file pulse.c.
Initial value:= {
.name = "pulse",
}
static av_cold int pulse_close(AVFormatContext *s)
static av_cold int read_close(AVFormatContext *ctx)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int pulse_read_packet(AVFormatContext *s, AVPacket *pkt)
static int read_header(FFV1Context *f)
static int read_packet(AVFormatContext *ctx, AVPacket *pkt)
static const AVClass pulse_demuxer_class
static av_cold int pulse_read_header(AVFormatContext *s)
Definition at line 186 of file pulse.c.