diff options
author | Chris Robinson <[email protected]> | 2008-08-14 20:44:55 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2008-08-14 20:44:55 -0700 |
commit | ac8c082b8956f315c83b770c26bb3cc8858323b6 (patch) | |
tree | 5d3212676132eab558d5d427fe3aecc6aee24731 /Alc/ALu.c | |
parent | 084df2a229a1d0f776cd8b7f579cb40c1780f893 (diff) |
Overwrite the input wet sample with the output
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r-- | Alc/ALu.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1016,12 +1016,12 @@ ALvoid aluMixData(ALCcontext *ALContext,ALvoid *buffer,ALsizei size,ALenum forma sample += DelayBuffer[LatePos]; - WetBuffer[i][FRONT_LEFT] += sample; - WetBuffer[i][FRONT_RIGHT] += sample; - WetBuffer[i][SIDE_LEFT] += sample; - WetBuffer[i][SIDE_RIGHT] += sample; - WetBuffer[i][BACK_LEFT] += sample; - WetBuffer[i][BACK_RIGHT] += sample; + WetBuffer[i][FRONT_LEFT] = sample; + WetBuffer[i][FRONT_RIGHT] = sample; + WetBuffer[i][SIDE_LEFT] = sample; + WetBuffer[i][SIDE_RIGHT] = sample; + WetBuffer[i][BACK_LEFT] = sample; + WetBuffer[i][BACK_RIGHT] = sample; LatePos = (LatePos+1) % Length; ReflectPos = (ReflectPos+1) % Length; |