diff options
author | Chris Robinson <[email protected]> | 2013-10-06 17:25:47 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2013-10-06 17:25:47 -0700 |
commit | 79edd2cf3b46b22d3e6c57aec11b942809f24ff3 (patch) | |
tree | b8d75b8de358eb4ea3c251907936cd7c70b9ac8b /Alc/mixer_sse.c | |
parent | 6425480d40e2a1b150c208db0421eabb51fe0624 (diff) |
Use a macro for the silence threshold
Diffstat (limited to 'Alc/mixer_sse.c')
-rw-r--r-- | Alc/mixer_sse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/mixer_sse.c b/Alc/mixer_sse.c index cd8ea299..56a4bdae 100644 --- a/Alc/mixer_sse.c +++ b/Alc/mixer_sse.c @@ -154,7 +154,7 @@ void MixDirect_SSE(const DirectParams *params, const ALfloat *restrict data, ALu for(c = 0;c < MaxChannels;c++) { DrySend = params->Gains[srcchan][c]; - if(!(DrySend > 0.00001f)) + if(!(DrySend > GAIN_SILENCE_THRESHOLD)) continue; if(OutPos == 0) @@ -188,7 +188,7 @@ void MixSend_SSE(const SendParams *params, const ALfloat *restrict data, ALuint pos; WetGain = params->Gain; - if(!(WetGain > 0.00001f)) + if(!(WetGain > GAIN_SILENCE_THRESHOLD)) return; if(OutPos == 0) |