From 3833c021c0b10a59fc3ec263d1f6ea8a9f3c9769 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 25 Apr 2012 00:03:01 -0700 Subject: [PATCH] Move a comment --- OpenAL32/alFilter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenAL32/alFilter.c b/OpenAL32/alFilter.c index d3abb7b3..b5186470 100644 --- a/OpenAL32/alFilter.c +++ b/OpenAL32/alFilter.c @@ -342,10 +342,10 @@ ALfloat lpCoeffCalc(ALfloat g, ALfloat cw) { ALfloat a = 0.0f; - /* Be careful with gains < 0.001, as that causes the coefficient head - * towards 1, which will flatten the signal */ if(g < 0.9999f) /* 1-epsilon */ { + /* 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))) / (1 - g);