aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/bformatdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/bformatdec.c')
-rw-r--r--Alc/bformatdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/bformatdec.c b/Alc/bformatdec.c
index d917f803..fff693bc 100644
--- a/Alc/bformatdec.c
+++ b/Alc/bformatdec.c
@@ -252,7 +252,7 @@ static void apply_row(ALfloat *out, const ALfloat *mtx, ALfloat (*restrict in)[B
for(c = 0;c < inchans;c++)
{
ALfloat gain = mtx[c];
- if(!(gain > GAIN_SILENCE_THRESHOLD))
+ if(!(fabsf(gain) > GAIN_SILENCE_THRESHOLD))
continue;
for(i = 0;i < todo;i++)
out[i] += in[c][i] * gain;