aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/reverb.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-05-21 02:42:44 -0700
committerChris Robinson <[email protected]>2017-05-21 02:42:44 -0700
commitedcdc1dae85246b8ae633d112cfd7dda93fdc8c9 (patch)
treeb5ebede81ae6ce810476b408d4f5263345ae5200 /Alc/effects/reverb.c
parent0b2467ed54507f64509dc21f6ba9f2d346ef5628 (diff)
Avoid unnecessary doubles
Diffstat (limited to 'Alc/effects/reverb.c')
-rw-r--r--Alc/effects/reverb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/effects/reverb.c b/Alc/effects/reverb.c
index 39daff53..2c881512 100644
--- a/Alc/effects/reverb.c
+++ b/Alc/effects/reverb.c
@@ -992,8 +992,8 @@ static void CalcT60DampingCoeffs(const ALfloat length, const ALfloat lfDecayTime
{
if(mfGain < hfGain)
{
- double hg = mfGain / lfGain;
- double lg = mfGain / hfGain;
+ ALfloat hg = mfGain / lfGain;
+ ALfloat lg = mfGain / hfGain;
CalcHighShelfCoeffs(hg, lfW, lfcoeffs);
CalcLowShelfCoeffs(lg, hfW, hfcoeffs);