58 if (ret == 0 || sio_eof(s->
hdl))
AVCodecContext * codec
Codec context associated with this stream.
int ff_sndio_close(SndioData *s)
static int audio_write_trailer(AVFormatContext *s1)
void * priv_data
Format private data.
char filename[1024]
input or output filename
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
int sample_rate
samples per second
Main libavdevice API header.
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
static int audio_write_packet(AVFormatContext *s1, AVPacket *pkt)
This structure stores compressed data.