Lines Matching defs:AVAudioFifo

48 typedef struct AVAudioFifo AVAudioFifo;
51 * Free an AVAudioFifo.
53 * @param af AVAudioFifo to free
55 void av_audio_fifo_free(AVAudioFifo *af);
58 * Allocate an AVAudioFifo.
63 * @return newly allocated AVAudioFifo, or NULL on error
65 AVAudioFifo *av_audio_fifo_alloc(enum AVSampleFormat sample_fmt, int channels,
69 * Reallocate an AVAudioFifo.
71 * @param af AVAudioFifo to reallocate
76 int av_audio_fifo_realloc(AVAudioFifo *af, int nb_samples);
79 * Write data to an AVAudioFifo.
81 * The AVAudioFifo will be reallocated automatically if the available space
87 * @param af AVAudioFifo to write to
94 int av_audio_fifo_write(AVAudioFifo *af, void **data, int nb_samples);
97 * Peek data from an AVAudioFifo.
102 * @param af AVAudioFifo to read from
110 int av_audio_fifo_peek(AVAudioFifo *af, void **data, int nb_samples);
113 * Peek data from an AVAudioFifo.
118 * @param af AVAudioFifo to read from
127 int av_audio_fifo_peek_at(AVAudioFifo *af, void **data, int nb_samples, int offset);
130 * Read data from an AVAudioFifo.
135 * @param af AVAudioFifo to read from
143 int av_audio_fifo_read(AVAudioFifo *af, void **data, int nb_samples);
146 * Drain data from an AVAudioFifo.
150 * @param af AVAudioFifo to drain
154 int av_audio_fifo_drain(AVAudioFifo *af, int nb_samples);
157 * Reset the AVAudioFifo buffer.
161 * @param af AVAudioFifo to reset
163 void av_audio_fifo_reset(AVAudioFifo *af);
166 * Get the current number of samples in the AVAudioFifo available for reading.
168 * @param af the AVAudioFifo to query
171 int av_audio_fifo_size(AVAudioFifo *af);
174 * Get the current number of samples in the AVAudioFifo available for writing.
176 * @param af the AVAudioFifo to query
179 int av_audio_fifo_space(AVAudioFifo *af);