diff options
Diffstat (limited to 'OpenAL32/alFilter.c')
-rw-r--r-- | OpenAL32/alFilter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/alFilter.c b/OpenAL32/alFilter.c index d943d9f1..1250693e 100644 --- a/OpenAL32/alFilter.c +++ b/OpenAL32/alFilter.c @@ -336,7 +336,7 @@ ALfloat lpCoeffCalc(ALfloat g, ALfloat cw) /* Be careful with gains < 0.001, as that causes the coefficient head * towards 1, which will flatten the signal */ g = maxf(g, 0.001f); - a = (1 - g*cw - aluSqrt(2*g*(1-cw) - g*g*(1 - cw*cw))) / + a = (1 - g*cw - sqrtf(2*g*(1-cw) - g*g*(1 - cw*cw))) / (1 - g); } |