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

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

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,
}

Definition at line 79 of file sndio_enc.c.