59 if (ret == 0 || sio_eof(s->
hdl))
int ff_sndio_close(SndioData *s)
static int audio_write_trailer(AVFormatContext *s1)
AVStream ** streams
A list of all streams in the file.
#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.
char filename[1024]
input or output filename
int sample_rate
samples per second
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)
This structure stores compressed data.