diff options
author | Chris Robinson <[email protected]> | 2010-10-09 15:24:24 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2010-10-09 15:24:24 -0700 |
commit | 2172827f43c8b073380ad60f92fcdc8306157e84 (patch) | |
tree | e095fd643071fa85274fc2a0debd85a298afe4af /Alc/ALu.c | |
parent | 90e9cd970a345fece55917a7239832060d7ae9d0 (diff) |
Simplify a calculation
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r-- | Alc/ALu.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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); } } |