ffmpeg.libavresample.audio_data

Undocumented in source.

Members

Functions

ff_audio_data_alloc
AudioData* ff_audio_data_alloc(int channels, int nb_samples, AVSampleFormat sample_fmt, char* name)

Allocate AudioData.

ff_audio_data_combine
int ff_audio_data_combine(AudioData* dst, int dst_offset, AudioData* src, int src_offset, int nb_samples)

Append data from one AudioData to the end of another.

ff_audio_data_drain
void ff_audio_data_drain(AudioData* a, int nb_samples)

Drain samples from the start of the AudioData.

ff_audio_data_free
void ff_audio_data_free(AudioData** a)

Free AudioData.

ff_audio_data_init
int ff_audio_data_init(AudioData* a, uint8_t** src, int plane_size, int channels, int nb_samples, AVSampleFormat sample_fmt, int read_only, char* name)

Initialize AudioData using a given source.

ff_audio_data_realloc
int ff_audio_data_realloc(AudioData* a, int nb_samples)

Reallocate AudioData.

ff_audio_data_set_channels
int ff_audio_data_set_channels(AudioData* a, int channels)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
ff_sample_fmt_is_planar
int ff_sample_fmt_is_planar(AVSampleFormat sample_fmt, int channels)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Structs

AudioData
struct AudioData

Audio buffer used for intermediate storage between conversion phases.

Meta