diff options
author | Chris Robinson <[email protected]> | 2015-11-04 19:13:25 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2015-11-04 19:13:25 -0800 |
commit | dce3d0c7bf8f68c0dc4d98870f9e8119742004c0 (patch) | |
tree | 21bc3e532296546731043429c747f7918190ebca /Alc/mixer.c | |
parent | bd0acf2843830a0891ac3e1ce3b0219cc9c12b81 (diff) |
Change the Kaiser rippling limit to -60dB
This improves the transition cutoff, shortening its width and reducing the
amount of error.
Diffstat (limited to 'Alc/mixer.c')
-rw-r--r-- | Alc/mixer.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |