#include <stdint.h>
#include <sndio.h>
#include "libavformat/avformat.h"
#include "libavformat/internal.h"
#include "libavutil/opt.h"
#include "libavutil/time.h"
#include "sndio_common.h"
Go to the source code of this file.
§ audio_read_header()
§ audio_read_packet()
§ audio_read_close()
§ options
Initial value:= {
{
"channels",
"", 0x42,
AV_OPT_TYPE_INT, {.i64 = 2}, 1, INT_MAX, AV_OPT_FLAG_DECODING_PARAM },
}
#define AV_OPT_FLAG_DECODING_PARAM
a generic parameter which can be set by the user for demuxing or decoding
Definition at line 96 of file sndio_dec.c.
§ sndio_demuxer_class
Initial value:= {
.class_name = "sndio indev",
}
static const AVOption options[]
Definition at line 102 of file sndio_dec.c.
§ ff_sndio_demuxer
Initial value:= {
.name = "sndio",
}
static int audio_read_packet(AVFormatContext *s1, AVPacket *pkt)
static const AVClass sndio_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 av_cold int audio_read_close(AVFormatContext *s1)
static int read_header(FFV1Context *f)
static int read_packet(AVFormatContext *ctx, AVPacket *pkt)
static av_cold int audio_read_header(AVFormatContext *s1)
Definition at line 109 of file sndio_dec.c.