#include "config.h"
#include <stdint.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/soundcard.h>
#include "libavutil/internal.h"
#include "libavutil/opt.h"
#include "libavutil/time.h"
#include "libavcodec/avcodec.h"
#include "avdevice.h"
#include "libavformat/internal.h"
#include "oss.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 121 of file oss_dec.c.
◆ oss_demuxer_class
Initial value:= {
.class_name = "OSS demuxer",
}
#define LIBAVUTIL_VERSION_INT
static const AVOption options[]
const char * av_default_item_name(void *ptr)
Return the context name.
Definition at line 127 of file oss_dec.c.
◆ ff_oss_demuxer
Initial value:= {
.name = "oss",
}
static int audio_read_header(AVFormatContext *s1)
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 audio_read_close(AVFormatContext *s1)
static int audio_read_packet(AVFormatContext *s1, AVPacket *pkt)
static int read_header(FFV1Context *f)
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
static const AVClass oss_demuxer_class
Definition at line 135 of file oss_dec.c.