From bd74cefa9108ea333de389aa154ffb335e37d015 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Thu, 13 Sep 2018 17:12:47 +0000 Subject: fixed equalizer regression git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8284 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmp/equ/iir_fpu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/qmmp/equ/iir_fpu.c b/src/qmmp/equ/iir_fpu.c index 6314364b4..fdef54352 100644 --- a/src/qmmp/equ/iir_fpu.c +++ b/src/qmmp/equ/iir_fpu.c @@ -122,8 +122,8 @@ __inline__ int iir(float *d, int samples, int nch) data_history[channel][band].y[i] = ( /* = alpha * [x(n)-x(n-2)] */ - iir_cf[band].alpha * ( data_history[band][channel].x[i] - - data_history[band][channel].x[k]) + iir_cf[band].alpha * ( data_history[channel][band].x[i] + - data_history[channel][band].x[k]) /* + gamma * y(n-1) */ + iir_cf[band].gamma * data_history[channel][band].y[j] /* - beta * y(n-2) */ -- cgit v1.2.3-13-gbd6f