AudioData

Audio buffer used for intermediate storage between conversion phases.

Members

Variables

_class
AVClass* _class;

< AVClass for logging

allocated_channels
int allocated_channels;

< allocated channel count

allocated_samples
int allocated_samples;

< number of samples the buffer can hold

allow_realloc
int allow_realloc;

< realloc is allowed

buffer
uint8_t* buffer;

< data buffer

buffer_size
uint buffer_size;

< allocated buffer size

channels
int channels;

< channel count

data
uint8_t[AVRESAMPLE_MAX_CHANNELS]* data;

< data plane pointers

is_planar
int is_planar;

< sample format is planar

name
char* name;

< name for debug logging

nb_samples
int nb_samples;

< current number of samples

planes
int planes;

< number of data planes

ptr_align
int ptr_align;

< minimum data pointer alignment

read_only
int read_only;

< data is read-only

sample_fmt
AVSampleFormat sample_fmt;

< sample format

sample_size
int sample_size;

< bytes per sample

samples_align
int samples_align;

< allocated samples alignment

stride
int stride;

< sample byte offset within a plane

Meta