From dce3d0c7bf8f68c0dc4d98870f9e8119742004c0 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 4 Nov 2015 19:13:25 -0800 Subject: Change the Kaiser rippling limit to -60dB This improves the transition cutoff, shortening its width and reducing the amount of error. --- Alc/mixer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Alc') diff --git a/Alc/mixer.c b/Alc/mixer.c index e7a924bf..cde29c08 100644 --- a/Alc/mixer.c +++ b/Alc/mixer.c @@ -209,8 +209,8 @@ static inline double CalcKaiserBeta(double rejection) static float SincKaiser(double r, double x) { - /* Limit rippling to -90dB. */ - return Kaiser(CalcKaiserBeta(90.0), x / r) * Sinc(x); + /* Limit rippling to -60dB. */ + return Kaiser(CalcKaiserBeta(60.0), x / r) * Sinc(x); } -- cgit v1.2.3