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/opt.h"
#include "pulse_audio_common.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_audio_dec.c.
Initial value:= {
{
"fragment_size",
"set buffering size, affects latency and cpu usage",
OFFSET(fragment_size),
AV_OPT_TYPE_INT, {.i64 = -1}, -1, INT_MAX,
D },
{ NULL },
}
static const uint8_t frame_size[4]
Definition at line 146 of file pulse_audio_dec.c.
Initial value:= {
.class_name = "Pulse demuxer",
}
#define LIBAVUTIL_VERSION_INT
const char * av_default_item_name(void *ctx)
Return the context name.
const OptionDef options[]
Definition at line 157 of file pulse_audio_dec.c.
Initial value:= {
.name = "pulse",
}
static av_cold int pulse_close(AVFormatContext *s)
static const AVClass pulse_demuxer_class
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 read_header(FFV1Context *f)
static av_cold int pulse_read_header(AVFormatContext *s)
static int read_packet(AVFormatContext *ctx, AVPacket *pkt)
static int pulse_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition at line 164 of file pulse_audio_dec.c.