Lines Matching refs:audio_fifo
26 #include "libavutil/audio_fifo.h"
60 AVAudioFifo *audio_fifo; ///< FIFO for audio samples
71 if (sink->audio_fifo)
72 av_audio_fifo_free(sink->audio_fifo);
166 av_audio_fifo_read(s->audio_fifo, (void**)tmp->extended_data, nb_samples);
187 if (!s->audio_fifo) {
189 if (!(s->audio_fifo = av_audio_fifo_alloc(link->format, nb_channels, nb_samples)))
194 if (av_audio_fifo_size(s->audio_fifo) >= nb_samples)
200 if (ret == AVERROR_EOF && av_audio_fifo_size(s->audio_fifo)) {
202 return read_from_fifo(ctx, frame, av_audio_fifo_size(s->audio_fifo));
210 av_rescale_q(av_audio_fifo_size(s->audio_fifo),
215 ret = av_audio_fifo_write(s->audio_fifo, (void**)cur_frame->extended_data,