diff options
author | Chris Robinson <[email protected]> | 2015-11-06 02:05:22 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2015-11-06 02:05:22 -0800 |
commit | b6682ede6122032fd6f2e55000c1dad47bc57c41 (patch) | |
tree | 694893142a2feb6d1da19d5ea2a9f374261140e6 /Alc/mixer.c | |
parent | 203c249bf717c3a9d3aed193375a970c2bf8fa1b (diff) |
Cast a double->float return to silence MSVC
Diffstat (limited to 'Alc/mixer.c')
-rw-r--r-- | Alc/mixer.c | 2 |
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)); } |