vlc/vlc-2.1 | branch: master | Rafaël Carré <[email protected]> | Thu Jul 25 18:15:38 2013 +0200| [58e1b7e6e23a4385e75e4aba57f1273c62e9328a] | committer: Jean-Baptiste Kempf
equalizer: apply preamp twice on 2nd pass Fixes #8760 (cherry picked from commit 4416c1f9156c43e2e2ecc8f8d6dbb098a7effc7f) Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc/vlc-2.1.git/?a=commit;h=58e1b7e6e23a4385e75e4aba57f1273c62e9328a --- modules/audio_filter/equalizer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/audio_filter/equalizer.c b/modules/audio_filter/equalizer.c index 651b4a1..8ce967d 100644 --- a/modules/audio_filter/equalizer.c +++ b/modules/audio_filter/equalizer.c @@ -463,7 +463,7 @@ static void EqzFilter( filter_t *p_filter, float *out, float *in, p_sys->x2[ch][0] = x2; /* We add source PCM + filtered PCM */ - out[ch] = p_sys->f_gamp *( EQZ_IN_FACTOR * x2 + o ); + out[ch] = p_sys->f_gamp * p_sys->f_gamp *( EQZ_IN_FACTOR * x2 + o ); } else { _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
