diff options
author | Chris Robinson <[email protected]> | 2011-09-23 23:03:59 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-09-23 23:03:59 -0700 |
commit | b4f9f894806fe5fa9adb1ebb481392838cc81e2e (patch) | |
tree | bc19f4ceb87a32dad496adb59640e214e1b1e44f /Alc/ALu.c | |
parent | a9b6b284c0ab4c098510198c78b759bf0eac483e (diff) |
Use float types for the resamplers instead of double
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r-- | Alc/ALu.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { |