aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/chorus.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/effects/chorus.c')
-rw-r--r--Alc/effects/chorus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/effects/chorus.c b/Alc/effects/chorus.c
index ba664268..8fc82a7f 100644
--- a/Alc/effects/chorus.c
+++ b/Alc/effects/chorus.c
@@ -203,14 +203,14 @@ static void Process##func(ALchorusState *state, ALuint SamplesToDo, \
for(kt = 0;kt < MaxChannels;kt++) \
{ \
ALfloat gain = state->Gain[0][kt]; \
- if(gain > 0.00001f) \
+ if(gain > GAIN_SILENCE_THRESHOLD) \
{ \
for(it = 0;it < td;it++) \
SamplesOut[kt][it+base] += temps[it][0] * gain; \
} \
\
gain = state->Gain[1][kt]; \
- if(gain > 0.00001f) \
+ if(gain > GAIN_SILENCE_THRESHOLD) \
{ \
for(it = 0;it < td;it++) \
SamplesOut[kt][it+base] += temps[it][1] * gain; \