aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/mixer.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/mixer.c')
-rw-r--r--Alc/mixer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/mixer.c b/Alc/mixer.c
index d6dac3b5..09a87ca7 100644
--- a/Alc/mixer.c
+++ b/Alc/mixer.c
@@ -217,7 +217,7 @@ static inline double CalcKaiserBeta(double rejection)
static float SincKaiser(double r, double x)
{
/* Limit rippling to -60dB. */
- return Kaiser(CalcKaiserBeta(60.0), x / r) * Sinc(x);
+ return (float)(Kaiser(CalcKaiserBeta(60.0), x / r) * Sinc(x));
}