Go to the documentation of this file.
21 #ifndef AVRESAMPLE_AUDIO_MIX_H
22 #define AVRESAMPLE_AUDIO_MIX_H
56 int out_channels,
int ptr_align,
int samples_align,
int ff_audio_mix_get_matrix(AudioMix *am, double *matrix, int stride)
Get the current mixing matrix.
AudioMix * ff_audio_mix_alloc(AVAudioResampleContext *avr)
Allocate and initialize an AudioMix context.
Audio buffer used for intermediate storage between conversion phases.
enum attribute_deprecated AVMixCoeffType
void ff_audio_mix_set_func(AudioMix *am, enum AVSampleFormat fmt, enum AVMixCoeffType coeff_type, int in_channels, int out_channels, int ptr_align, int samples_align, const char *descr, void *mix_func)
Set mixing function if the parameters match.
int ff_audio_mix_set_matrix(AudioMix *am, const double *matrix, int stride)
Set the current mixing matrix.
void() mix_func(uint8_t **src, void **matrix, int len, int out_ch, int in_ch)
void ff_audio_mix_init_x86(AudioMix *am)
void ff_audio_mix_free(AudioMix **am)
Free an AudioMix context.
AVSampleFormat
Audio sample formats.
int ff_audio_mix(AudioMix *am, AudioData *src)
Apply channel mixing to audio data using the current mixing matrix.