From f5b19fad20290efec31da4ab6b9638137bb86961 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 25 Jan 2009 19:54:50 -0800 Subject: [PATCH] Duplicate stereo onto the side channels as well as the back --- Alc/ALu.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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]; } -- 2.11.4.GIT