#include "config.h"
#include <stdint.h>
#include <sys/soundcard.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include "libavutil/internal.h"
#include "libavutil/opt.h"
#include "libavutil/time.h"
#include "libavcodec/avcodec.h"
#include "libavformat/avformat.h"
#include "libavformat/internal.h"
#include "oss_audio.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 124 of file oss_audio_dec.c.
§ oss_demuxer_class
Initial value:= {
.class_name = "OSS demuxer",
}
static const AVOption options[]
Definition at line 130 of file oss_audio_dec.c.
§ ff_oss_demuxer
Initial value:= {
.name = "oss",
}
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 int audio_read_packet(AVFormatContext *s1, AVPacket *pkt)
static const AVClass oss_demuxer_class
static int read_packet(AVFormatContext *ctx, AVPacket *pkt)
static int audio_read_close(AVFormatContext *s1)
static int audio_read_header(AVFormatContext *s1)
Definition at line 137 of file oss_audio_dec.c.