From 4cf4028331f9605cdd3ed5ff7a8ca2fbdaedf7fd Mon Sep 17 00:00:00 2001 From: John Stebbins Date: Thu, 2 Aug 2012 11:23:06 -0700 Subject: libavresample: add mix level normalization option Provides an option to disable mix level normalization Signed-off-by: Diego Biurrun --- libavresample/audio_mix.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libavresample/audio_mix.c') diff --git a/libavresample/audio_mix.c b/libavresample/audio_mix.c index e8ab2e3ee7..f948c82788 100644 --- a/libavresample/audio_mix.c +++ b/libavresample/audio_mix.c @@ -335,7 +335,9 @@ int ff_audio_mix_init(AVAudioResampleContext *avr) avr->out_channel_layout, avr->center_mix_level, avr->surround_mix_level, - avr->lfe_mix_level, 1, matrix_dbl, + avr->lfe_mix_level, + avr->normalize_mix_level, + matrix_dbl, avr->in_channels, avr->matrix_encoding); if (ret < 0) { -- cgit v1.2.3