aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-07-21 03:22:14 -0700
committerChris Robinson <[email protected]>2013-07-21 03:22:14 -0700
commit51791e6a54fe382ff91a3845292934e64b7dfbad (patch)
tree781ce111047ef8d03a89770793614807f2784505
parentd85f0c0bb2f4545ab404d7fa3ec313c632e09cff (diff)
Remove an unused function
-rw-r--r--Alc/effects/reverb.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/Alc/effects/reverb.c b/Alc/effects/reverb.c
index 1db987c6..61edd8e7 100644
--- a/Alc/effects/reverb.c
+++ b/Alc/effects/reverb.c
@@ -777,13 +777,6 @@ static inline ALfloat CalcDecayLength(ALfloat coeff, ALfloat decayTime)
return log10f(coeff) * decayTime / log10f(0.001f)/*-60 dB*/;
}
-// Calculate the high frequency parameter for the I3DL2 coefficient
-// calculation.
-static inline ALfloat CalcI3DL2HFreq(ALfloat hfRef, ALuint frequency)
-{
- return cosf(F_PI*2.0f * hfRef / frequency);
-}
-
// Calculate an attenuation to be applied to the input of any echo models to
// compensate for modal density and decay time.
static inline ALfloat CalcDensityGain(ALfloat a)