FFmpeg
Data Fields
AVAudioFifo Struct Reference

Context for an Audio FIFO Buffer. More...

Data Fields

  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...
 
  current allocated size, in samples More...
 
int  channels
  number of channels More...
 
  sample format More...
 
int  sample_size
  size, in bytes, of one sample in a buffer More...
 

Detailed Description

Context for an Audio FIFO Buffer.

  • Operates at the sample level rather than the byte level.
  • Supports multiple channels with either planar or packed sample format.
  • Automatic reallocation when writing to a full buffer.
Examples:
transcode_aac.c.

Definition at line 34 of file audio_fifo.c.

Field Documentation

AVFifoBuffer** AVAudioFifo::buf

single buffer for interleaved, per-channel buffers for planar

Definition at line 35 of file audio_fifo.c.

Referenced by av_audio_fifo_alloc(), av_audio_fifo_drain(), av_audio_fifo_free(), av_audio_fifo_read(), av_audio_fifo_realloc(), av_audio_fifo_reset(), and av_audio_fifo_write().

int AVAudioFifo::nb_buffers

number of buffers

Definition at line 36 of file audio_fifo.c.

Referenced by av_audio_fifo_alloc(), av_audio_fifo_drain(), av_audio_fifo_free(), av_audio_fifo_read(), av_audio_fifo_realloc(), av_audio_fifo_reset(), and av_audio_fifo_write().

int AVAudioFifo::nb_samples

number of samples currently in the FIFO

Definition at line 37 of file audio_fifo.c.

Referenced by av_audio_fifo_drain(), av_audio_fifo_read(), av_audio_fifo_reset(), av_audio_fifo_size(), av_audio_fifo_space(), and av_audio_fifo_write().

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().

int AVAudioFifo::channels

number of channels

Definition at line 40 of file audio_fifo.c.

Referenced by av_audio_fifo_alloc(), and av_audio_fifo_realloc().

enum AVSampleFormat AVAudioFifo::sample_fmt

sample format

Definition at line 41 of file audio_fifo.c.

Referenced by av_audio_fifo_alloc(), and av_audio_fifo_realloc().

int AVAudioFifo::sample_size

size, in bytes, of one sample in a buffer

Definition at line 42 of file audio_fifo.c.

Referenced by av_audio_fifo_alloc(), av_audio_fifo_drain(), av_audio_fifo_read(), and av_audio_fifo_write().


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

Generated on Wed Jun 10 2015 01:57:19 for FFmpeg by   doxygen 1.8.6

AltStyle によって変換されたページ (->オリジナル) /