From ac1243b033985ca9a6c445ec64164d54af387169 Mon Sep 17 00:00:00 2001 From: Krzysztof Foltman Date: Sat, 8 Jun 2013 21:43:46 +0100 Subject: [PATCH] Fix gain normalization problem in the highpass filter. --- biquad-float.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/biquad-float.h b/biquad-float.h index 13db7d1..adba89c 100644 --- a/biquad-float.h +++ b/biquad-float.h @@ -230,7 +230,7 @@ static inline void cbox_biquadf_set_1php_lookup(struct cbox_biquadf_coeffs *coef float a01 = x*q; float b1 = a01 - q; - cbox_biquadf_set_1p(coeffs, a01, -a01, b1, two_copies); + cbox_biquadf_set_1p(coeffs, q, -q, b1, two_copies); } #if USE_NEON -- 2.11.4.GIT