From 79edd2cf3b46b22d3e6c57aec11b942809f24ff3 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 6 Oct 2013 17:25:47 -0700 Subject: Use a macro for the silence threshold --- Alc/effects/equalizer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc/effects/equalizer.c') diff --git a/Alc/effects/equalizer.c b/Alc/effects/equalizer.c index 3fd0b0f7..b7bfa0a2 100644 --- a/Alc/effects/equalizer.c +++ b/Alc/effects/equalizer.c @@ -154,7 +154,7 @@ static ALvoid ALequalizerState_process(ALequalizerState *state, ALuint SamplesTo for(kt = 0;kt < MaxChannels;kt++) { ALfloat gain = state->Gain[kt]; - if(!(gain > 0.00001f)) + if(!(gain > GAIN_SILENCE_THRESHOLD)) continue; for(it = 0;it < td;it++) -- cgit v1.2.3