From edcdc1dae85246b8ae633d112cfd7dda93fdc8c9 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 21 May 2017 02:42:44 -0700 Subject: Avoid unnecessary doubles --- Alc/effects/reverb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Alc/effects/reverb.c') 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); -- cgit v1.2.3