From a9b6b284c0ab4c098510198c78b759bf0eac483e Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 23 Sep 2011 22:50:33 -0700 Subject: [PATCH] Change a double type to a float --- Alc/ALu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Alc/ALu.c b/Alc/ALu.c index 76a987aa..6c474f23 100644 --- a/Alc/ALu.c +++ b/Alc/ALu.c @@ -779,7 +779,7 @@ ALvoid CalcSourceParams(ALsource *ALSource, const ALCcontext *ALContext) DirGain = aluSqrt(Position[0]*Position[0] + Position[2]*Position[2]); // elevation adjustment for directional gain. this sucks, but // has low complexity - AmbientGain = aluSqrt(1.0/Device->NumChan); + AmbientGain = aluSqrt(1.0f/Device->NumChan); for(i = 0;i < MAXCHANNELS;i++) { ALuint i2;