AudioData Struct Reference

Audio buffer used for intermediate storage between conversion phases. More...

#include <audio_data.h>


Data Fields

AVClassclass
int fd
int sample_rate
int channels
 channel count
int frame_size
enum CodecID codec_id
unsigned int flip_left: 1
uint8_t buffer [AUDIO_BLOCK_SIZE]
int buffer_ptr
const AVClassclass
 AVClass for logging.
uint8_tdata [AVRESAMPLE_MAX_CHANNELS]
 data plane pointers
uint8_tbuffer
 data buffer
unsigned int buffer_size
 allocated buffer size
int allocated_samples
 number of samples the buffer can hold
int nb_samples
 current number of samples
enum AVSampleFormat sample_fmt
 sample format
int allocated_channels
 allocated channel count
int is_planar
 sample format is planar
int planes
 number of data planes
int sample_size
 bytes per sample
int stride
 sample byte offset within a plane
int read_only
 data is read-only
int allow_realloc
 realloc is allowed
int ptr_align
 minimum data pointer alignment
int samples_align
 allocated samples alignment
const char * name
 name for debug logging
uint8_tch [SWR_CH_MAX]
 samples buffer per channel
int ch_count
 number of channels
int bps
 bytes per sample
int count
 number of samples
int planar
 1 if planar audio, 0 otherwise
enum AVSampleFormat fmt
 sample format


Detailed Description

Audio buffer used for intermediate storage between conversion phases.

Definition at line 47 of file oss_audio.c.


Field Documentation

number of samples the buffer can hold

Definition at line 39 of file audio_data.h.

Referenced by ff_audio_data_init(), ff_audio_data_realloc(), ff_audio_resample(), and handle_buffered_output().

realloc is allowed

Definition at line 49 of file audio_data.h.

Referenced by ff_audio_data_alloc(), ff_audio_data_init(), ff_audio_data_realloc(), and ff_audio_resample().

data buffer

Definition at line 37 of file audio_data.h.

uint8_t AudioData::buffer[AUDIO_BLOCK_SIZE]

Definition at line 55 of file oss_audio.c.

Referenced by audio_write_packet(), and ff_audio_data_realloc().

Definition at line 56 of file oss_audio.c.

Referenced by audio_write_packet().

unsigned int AudioData::buffer_size

allocated buffer size

Definition at line 38 of file audio_data.h.

Referenced by ff_audio_data_realloc().

uint8_t* AudioData::ch[SWR_CH_MAX]

AVClass for logging.

Definition at line 35 of file audio_data.h.

Definition at line 48 of file oss_audio.c.

Referenced by ff_audio_data_alloc(), and ff_audio_data_init().

Definition at line 53 of file oss_audio.c.

Referenced by audio_open(), and audio_read_header().

number of samples

Definition at line 34 of file swresample_internal.h.

Referenced by realloc_audio(), resample(), swr_convert(), swr_convert_internal(), and swr_inject_silence().

Definition at line 49 of file oss_audio.c.

Referenced by audio_close(), audio_open(), audio_read_packet(), and audio_write_packet().

unsigned int AudioData::flip_left

Definition at line 54 of file oss_audio.c.

Referenced by audio_open(), and audio_read_packet().

sample format

Definition at line 36 of file swresample_internal.h.

Referenced by resample(), set_audiodata_fmt(), and swri_rematrix_init().

Definition at line 52 of file oss_audio.c.

Referenced by audio_open(), and audio_read_packet().

sample format is planar

Definition at line 44 of file audio_data.h.

Referenced by ff_audio_data_alloc(), ff_audio_data_init(), ff_audio_data_realloc(), and ff_audio_data_set_channels().

const char* AudioData::name

name for debug logging

Definition at line 52 of file audio_data.h.

Referenced by avresample_convert(), ff_audio_data_alloc(), ff_audio_data_init(), and handle_buffered_output().

minimum data pointer alignment

Definition at line 50 of file audio_data.h.

Referenced by calc_ptr_alignment(), and ff_audio_mix().

Definition at line 50 of file oss_audio.c.

Referenced by audio_open(), audio_read_header(), audio_read_packet(), and audio_write_header().

bytes per sample

Definition at line 46 of file audio_data.h.

Referenced by ff_audio_data_alloc(), and ff_audio_data_init().

allocated samples alignment

Definition at line 51 of file audio_data.h.

Referenced by ff_audio_data_init(), ff_audio_data_realloc(), and ff_audio_mix().


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

Generated on Fri Oct 26 02:48:04 2012 for FFmpeg by  doxygen 1.5.8