aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALu.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 1299e98c..af6c8b39 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -528,8 +528,7 @@ ALvoid CalcSourceParams(ALsource *ALSource, const ALCcontext *ALContext)
Slot->effect.Reverb.DecayTime) *
-60.0 / 20.0);
- WetGainHF[i] *= aluPow(10.0f,
- log10(Slot->effect.Reverb.AirAbsorptionGainHF) *
+ WetGainHF[i] *= aluPow(Slot->effect.Reverb.AirAbsorptionGainHF,
AirAbsorptionFactor * effectiveDist);
}
}