FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
oss_audio_enc.c File Reference
#include "config.h"
#include <sys/soundcard.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include "libavutil/internal.h"
#include "libavcodec/avcodec.h"
#include "avdevice.h"
#include "libavformat/internal.h"
#include "oss_audio.h"

Go to the source code of this file.

Functions

static int audio_write_header (AVFormatContext *s1)
 
static int audio_write_packet (AVFormatContext *s1, AVPacket *pkt)
 
static int audio_write_trailer (AVFormatContext *s1)
 

Variables

static const AVClass oss_muxer_class
 
AVOutputFormat ff_oss_muxer
 

Function Documentation

static int audio_write_header ( AVFormatContext s1)
static

Definition at line 45 of file oss_audio_enc.c.

static int audio_write_packet ( AVFormatContext s1,
AVPacket pkt 
)
static

Definition at line 62 of file oss_audio_enc.c.

static int audio_write_trailer ( AVFormatContext s1)
static

Definition at line 89 of file oss_audio_enc.c.

Variable Documentation

const AVClass oss_muxer_class
static
Initial value:
= {
.class_name = "OSS muxer",
.item_name = av_default_item_name,
}

Definition at line 97 of file oss_audio_enc.c.

AVOutputFormat ff_oss_muxer
Initial value:
= {
.name = "oss",
.long_name = NULL_IF_CONFIG_SMALL("OSS (Open Sound System) playback"),
.priv_data_size = sizeof(OSSAudioData),
.video_codec = AV_CODEC_ID_NONE,
.write_header = audio_write_header,
.write_packet = audio_write_packet,
.write_trailer = audio_write_trailer,
.flags = AVFMT_NOFILE,
.priv_class = &oss_muxer_class,
}

Definition at line 104 of file oss_audio_enc.c.