aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/effects/dedicated.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2013-10-06 17:25:47 -0700
committerChris Robinson <[email protected]>2013-10-06 17:25:47 -0700
commit79edd2cf3b46b22d3e6c57aec11b942809f24ff3 (patch)
treeb8d75b8de358eb4ea3c251907936cd7c70b9ac8b /Alc/effects/dedicated.c
parent6425480d40e2a1b150c208db0421eabb51fe0624 (diff)
Use a macro for the silence threshold
Diffstat (limited to 'Alc/effects/dedicated.c')
-rw-r--r--Alc/effects/dedicated.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/effects/dedicated.c b/Alc/effects/dedicated.c
index 2aa08953..5a9842fa 100644
--- a/Alc/effects/dedicated.c
+++ b/Alc/effects/dedicated.c
@@ -78,7 +78,7 @@ static ALvoid ALdedicatedState_process(ALdedicatedState *state, ALuint SamplesTo
for(c = 0;c < MaxChannels;c++)
{
- if(!(gains[c] > 0.00001f))
+ if(!(gains[c] > GAIN_SILENCE_THRESHOLD))
continue;
for(i = 0;i < SamplesToDo;i++)