Check the proper value for setting WetPendingClicks

This commit is contained in:
Chris Robinson
2012-09-16 08:15:03 -07:00
parent a240abb6c8
commit 535e8fd0f7
+1 -1
View File
@@ -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;
}