61 if (ret == 0 || sio_eof(s->
hdl))
#define LIBAVUTIL_VERSION_INT
static int audio_write_trailer(AVFormatContext *s1)
const char * class_name
The name of the class; usually it is the same name as the context structure type to which the AVClass...
AVStream ** streams
A list of all streams in the file.
Main libavdevice API header.
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
AVCodecContext * codec
Codec context associated with this stream.
common internal API header
char filename[1024]
input or output filename
int ff_sndio_close(SndioData *s)
int sample_rate
samples per second
Describe the class of an AVClass context structure.
av_cold int ff_sndio_open(AVFormatContext *s1, int is_output, const char *audio_device)
static av_cold int audio_write_header(AVFormatContext *s1)
int channels
number of audio channels
AVOutputFormat ff_sndio_muxer
void * priv_data
Format private data.
static int audio_write_packet(AVFormatContext *s1, AVPacket *pkt)
static const AVClass sndio_muxer_class
This structure stores compressed data.