FFmpeg
Data Fields
AVAudioFifo Struct Reference

Context for an Audio FIFO Buffer. More...

Data Fields

AVFifoBuffer ** buf
 single buffer for interleaved, per-channel buffers for planar More...
 
int nb_buffers
 number of buffers More...
 
int nb_samples
 number of samples currently in the FIFO More...
 
int allocated_samples
 current allocated size, in samples More...
 
int channels
 number of channels More...
 
enum AVSampleFormat sample_fmt
 sample format More...
 
int sample_size
 size, in bytes, of one sample in a buffer More...
 

Detailed Description

Context for an Audio FIFO Buffer.

Examples
transcode_aac.c.

Definition at line 34 of file audio_fifo.c.

Field Documentation

◆ buf

AVFifoBuffer** AVAudioFifo::buf

◆ nb_buffers

int AVAudioFifo::nb_buffers

◆ nb_samples

int AVAudioFifo::nb_samples

◆ allocated_samples

int AVAudioFifo::allocated_samples

current allocated size, in samples

Definition at line 38 of file audio_fifo.c.

Referenced by av_audio_fifo_alloc(), av_audio_fifo_realloc(), and av_audio_fifo_space().

◆ channels

int AVAudioFifo::channels

number of channels

Definition at line 40 of file audio_fifo.c.

Referenced by av_audio_fifo_alloc(), av_audio_fifo_realloc(), and read_samples_from_audio_fifo().

◆ sample_fmt

enum AVSampleFormat AVAudioFifo::sample_fmt

sample format

Definition at line 41 of file audio_fifo.c.

Referenced by av_audio_fifo_alloc(), av_audio_fifo_realloc(), and read_samples_from_audio_fifo().

◆ sample_size

int AVAudioFifo::sample_size

The documentation for this struct was generated from the following file: