diff options
Diffstat (limited to 'Alc/effects/flanger.c')
-rw-r--r-- | Alc/effects/flanger.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/effects/flanger.c b/Alc/effects/flanger.c index 6b1a84ad..0107afed 100644 --- a/Alc/effects/flanger.c +++ b/Alc/effects/flanger.c @@ -203,14 +203,14 @@ static void Process##func(ALflangerState *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; \ |