21 #ifndef AVRESAMPLE_AUDIO_MIX_H
22 #define AVRESAMPLE_AUDIO_MIX_H
56 int out_channels,
int ptr_align,
int samples_align,
Audio buffer used for intermediate storage between conversion phases.
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.
void ff_audio_mix_free(AudioMix **am)
Free an AudioMix context.
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.
typedef void(APIENTRY *FF_PFNGLACTIVETEXTUREPROC)(GLenum texture)
AVSampleFormat
Audio sample formats.
void ff_audio_mix_init_x86(AudioMix *am)
void( mix_func)(uint8_t **src, void **matrix, int len, int out_ch, int in_ch)
int ff_audio_mix(AudioMix *am, AudioData *src)
Apply channel mixing to audio data using the current mixing matrix.
GLint GLenum GLboolean GLsizei stride
AVMixCoeffType
Mixing Coefficient Types.