[vlc-devel] [PATCH] equalizer: apply preamp twice on 2nd pass
Rafaël Carré
funman at videolan.org
Thu Jul 25 18:16:05 CEST 2013
Fixes #8760
---
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 4a362c4..47311f3 100644
--- a/modules/audio_filter/equalizer.c
+++ b/modules/audio_filter/equalizer.c
@@ -450,7 +450,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
{
--
1.8.1.2
More information about the vlc-devel
mailing list