diff options
author | Chris Robinson <[email protected]> | 2012-06-29 02:12:36 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-06-29 02:12:36 -0700 |
commit | 6bd535bed0101bbe91c4a1a7dc4f93167e40810c (patch) | |
tree | 6ff7dd6ab5a18cb05d8b1ebc1a92c4b430d2b838 /OpenAL32/alFilter.c | |
parent | 524c88c4025391aa17752d329cc2d548c9a6d261 (diff) |
Use wrappers for float-typed math functions
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); } |