ffmpeg.libavutil.audio_fifo

@file Audio FIFO Buffer

Members

Functions

av_audio_fifo_alloc
AVAudioFifo* av_audio_fifo_alloc(AVSampleFormat sample_fmt, int channels, int nb_samples)

Allocate an AVAudioFifo.

av_audio_fifo_drain
int av_audio_fifo_drain(AVAudioFifo* af, int nb_samples)

Drain data from an AVAudioFifo.

av_audio_fifo_free
void av_audio_fifo_free(AVAudioFifo* af)

Free an AVAudioFifo.

av_audio_fifo_peek
int av_audio_fifo_peek(AVAudioFifo* af, void** data, int nb_samples)

Peek data from an AVAudioFifo.

av_audio_fifo_peek_at
int av_audio_fifo_peek_at(AVAudioFifo* af, void** data, int nb_samples, int offset)

Peek data from an AVAudioFifo.

av_audio_fifo_read
int av_audio_fifo_read(AVAudioFifo* af, void** data, int nb_samples)

Read data from an AVAudioFifo.

av_audio_fifo_realloc
int av_audio_fifo_realloc(AVAudioFifo* af, int nb_samples)

Reallocate an AVAudioFifo.

av_audio_fifo_reset
void av_audio_fifo_reset(AVAudioFifo* af)

Reset the AVAudioFifo buffer.

av_audio_fifo_size
int av_audio_fifo_size(AVAudioFifo* af)

Get the current number of samples in the AVAudioFifo available for reading.

av_audio_fifo_space
int av_audio_fifo_space(AVAudioFifo* af)

Get the current number of samples in the AVAudioFifo available for writing.

av_audio_fifo_write
int av_audio_fifo_write(AVAudioFifo* af, void** data, int nb_samples)

Write data to an AVAudioFifo.

Structs

AVAudioFifo
struct AVAudioFifo

Context for an Audio FIFO Buffer.

Meta