FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
sndio_enc.c File Reference
#include <stdint.h>
#include <sndio.h>
#include "avdevice.h"
#include "sndio_common.h"

Go to the source code of this file.

Functions

static av_cold 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 sndio_muxer_class
 
AVOutputFormat ff_sndio_muxer
 

Function Documentation

static av_cold int audio_write_header ( AVFormatContext s1)
static

Definition at line 28 of file sndio_enc.c.

static int audio_write_packet ( AVFormatContext s1,
AVPacket pkt 
)
static

Definition at line 43 of file sndio_enc.c.

static int audio_write_trailer ( AVFormatContext s1)
static

Definition at line 68 of file sndio_enc.c.

Variable Documentation

const AVClass sndio_muxer_class
static
Initial value:
= {
.class_name = "sndio outdev",
.item_name = av_default_item_name,
}

Definition at line 79 of file sndio_enc.c.

AVOutputFormat ff_sndio_muxer
Initial value:
= {
.name = "sndio",
.long_name = NULL_IF_CONFIG_SMALL("sndio audio playback"),
.priv_data_size = sizeof(SndioData),
.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 = &sndio_muxer_class,
}

Definition at line 86 of file sndio_enc.c.