aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Alc/ALu.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 8835a2d3..70570666 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -1109,7 +1109,10 @@ ALvoid aluMixData(ALCcontext *ALContext,ALvoid *buffer,ALsizei size,ALenum forma
DryBuffer[j][FRONT_RIGHT] += samp2*DrySend[FRONT_RIGHT];
if(DuplicateStereo)
{
- //Duplicate stereo channels on the back speakers
+ //Duplicate stereo channels on the side and
+ //back speakers
+ DryBuffer[j][SIDE_LEFT] += samp1*DrySend[SIDE_LEFT];
+ DryBuffer[j][SIDE_RIGHT] += samp2*DrySend[SIDE_RIGHT];
DryBuffer[j][BACK_LEFT] += samp1*DrySend[BACK_LEFT];
DryBuffer[j][BACK_RIGHT] += samp2*DrySend[BACK_RIGHT];
}