diff options
Diffstat (limited to 'Alc/alcReverb.c')
-rw-r--r-- | Alc/alcReverb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/alcReverb.c b/Alc/alcReverb.c index 80439669..92a82a51 100644 --- a/Alc/alcReverb.c +++ b/Alc/alcReverb.c @@ -757,7 +757,7 @@ static __inline ALfloat CalcDecayCoeff(ALfloat length, ALfloat decayTime) // reaches -60 dB. static __inline ALfloat CalcDecayLength(ALfloat coeff, ALfloat decayTime) { - return log10(coeff) * decayTime / -3.0f/*log10(0.001)*/; + return aluLog10(coeff) * decayTime / aluLog10(0.001)/*-60 dB*/; } // Calculate the high frequency parameter for the I3DL2 coefficient |