sndio_enc.c File Reference
#include <stdint.h>
#include <sndio.h>
#include "avdevice.h"
#include "sndio_common.h"
Include dependency graph for sndio_enc.c:

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,
}
struct SndioData SndioData
static int audio_write_trailer(AVFormatContext *s1)
Definition: sndio_enc.c:68
#define AV_NE(be, le)
Definition: common.h:44
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
#define AVFMT_NOFILE
Demuxer will use avio_open, no opened file should be provided by the caller.
Definition: avformat.h:345
static av_cold int audio_write_header(AVFormatContext *s1)
Definition: sndio_enc.c:28
static int audio_write_packet(AVFormatContext *s1, AVPacket *pkt)
Definition: sndio_enc.c:43

Definition at line 79 of file sndio_enc.c.