aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/mixer_c.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/mixer_c.c')
-rw-r--r--Alc/mixer_c.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Alc/mixer_c.c b/Alc/mixer_c.c
index 28eee188..027c4e37 100644
--- a/Alc/mixer_c.c
+++ b/Alc/mixer_c.c
@@ -121,6 +121,9 @@ void MixSend_C(SendParams *params, const ALfloat *RESTRICT data,
ALfloat WetSend = params->Gain;
ALuint pos;
+ if(WetSend < 0.00001f)
+ return;
+
if(OutPos == 0)
WetClickRemoval[0] -= data[0] * WetSend;
for(pos = 0;pos < BufferSize;pos++)