aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-09-23 23:03:59 -0700
committerChris Robinson <[email protected]>2011-09-23 23:03:59 -0700
commitb4f9f894806fe5fa9adb1ebb481392838cc81e2e (patch)
treebc19f4ceb87a32dad496adb59640e214e1b1e44f /Alc/ALu.c
parenta9b6b284c0ab4c098510198c78b759bf0eac483e (diff)
Use float types for the resamplers instead of double
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 6c474f23..0697e943 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -584,8 +584,8 @@ ALvoid CalcSourceParams(ALsource *ALSource, const ALCcontext *ALContext)
if(Angle >= InnerAngle && Angle <= OuterAngle)
{
ALfloat scale = (Angle-InnerAngle) / (OuterAngle-InnerAngle);
- ConeVolume = lerp(1.0, ALSource->flOuterGain, scale);
- ConeHF = lerp(1.0, ALSource->OuterGainHF, scale);
+ ConeVolume = lerp(1.0f, ALSource->flOuterGain, scale);
+ ConeHF = lerp(1.0f, ALSource->OuterGainHF, scale);
}
else if(Angle > OuterAngle)
{