Go to the source code of this file.
◆ DEFAULT_CODEC_ID
◆ CHECK_SUCCESS_GOTO
| #define CHECK_SUCCESS_GOTO |
( |
| rerror, |
|
|
| expression, |
|
|
| label ) |
Value: do { \
if (!(expression)) { \
goto label; \
} \
} while (0)
#define AVERROR_EXTERNAL
Generic error in an external library.
Definition at line 61 of file pulse_audio_dec.c.
Referenced by pulse_read_packet().
◆ CHECK_DEAD_GOTO
| #define CHECK_DEAD_GOTO |
( |
| p, |
|
|
| rerror, |
|
|
| label ) |
Value: do { \
if (!(p)->context || !PA_CONTEXT_IS_GOOD(pa_context_get_state((p)->context)) || \
!(p)->stream || !PA_STREAM_IS_GOOD(pa_stream_get_state((p)->stream))) { \
goto label; \
} \
} while (0)
Definition at line 69 of file pulse_audio_dec.c.
Referenced by pulse_read_packet().
◆ OFFSET
◆ DEPR
◆ context_state_cb()
| static void context_state_cb |
( |
pa_context * | c, |
|
|
void * | userdata ) |
|
static |
◆ stream_state_cb()
| static void stream_state_cb |
( |
pa_stream * | s, |
|
|
void * | userdata ) |
|
static |
◆ stream_request_cb()
| static void stream_request_cb |
( |
pa_stream * | s, |
|
|
size_t | length, |
|
|
void * | userdata ) |
|
static |
◆ stream_latency_update_cb()
| static void stream_latency_update_cb |
( |
pa_stream * | s, |
|
|
void * | userdata ) |
|
static |
◆ pulse_close()
◆ pulse_read_header()
◆ pulse_read_packet()
◆ pulse_get_device_list()
◆ options
Initial value:= {
{
"sample_rate",
"set sample rate in Hz",
OFFSET(sample_rate),
AV_OPT_TYPE_INT, {.i64 = 48000}, 1, INT_MAX,
D },
{
"fragment_size",
"set 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]
@ AV_OPT_TYPE_INT
Underlying C type is int.
@ AV_OPT_TYPE_STRING
Underlying C type is a uint8_t* that is either NULL or points to a C string allocated with the av_mal...
Definition at line 382 of file pulse_audio_dec.c.
◆ pulse_demuxer_class
Initial value:= {
.class_name = "Pulse indev",
}
const char * av_default_item_name(void *ptr)
Return the context name.
#define LIBAVUTIL_VERSION_INT
@ AV_CLASS_CATEGORY_DEVICE_AUDIO_INPUT
Definition at line 394 of file pulse_audio_dec.c.
◆ ff_pulse_demuxer
Initial value:= {
.p.name = "pulse",
}
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
static int read_header(FFV1Context *f, RangeCoder *c)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
static av_cold int read_close(AVFormatContext *ctx)
static av_cold int pulse_read_header(AVFormatContext *s)
static av_cold int pulse_close(AVFormatContext *s)
static const AVClass pulse_demuxer_class
static int pulse_get_device_list(AVFormatContext *h, AVDeviceInfoList *device_list)
static int pulse_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition at line 402 of file pulse_audio_dec.c.