aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Alc/mixer_sse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/mixer_sse.c b/Alc/mixer_sse.c
index 6a53115a..47a6e705 100644
--- a/Alc/mixer_sse.c
+++ b/Alc/mixer_sse.c
@@ -339,6 +339,6 @@ void MixSend_SSE(SendParams *params, const ALfloat *RESTRICT data,
}
for(;pos < BufferSize;pos++)
WetBuffer[OutPos+pos] += data[pos] * WetGain;
- if(OutPos == SamplesToDo)
+ if(OutPos+pos == SamplesToDo)
WetPendingClicks[0] += data[pos] * WetGain;
}