From 96bd020bd3663233e1273147cbda61d4f3ec01b3 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 21 Dec 2007 14:30:38 -0800 Subject: [PATCH] Use the right-channel sample... --- Alc/ALu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Alc/ALu.c b/Alc/ALu.c index 8aa02c03..67c2a4bb 100644 --- a/Alc/ALu.c +++ b/Alc/ALu.c @@ -625,14 +625,14 @@ ALvoid aluMixData(ALCcontext *ALContext,ALvoid *buffer,ALsizei size,ALenum forma //Direct path final mix buffer and panning (left) DryBuffer[j][0] += value*DrySend[0]; //Direct path final mix buffer and panning (right) - DryBuffer[j][1] += value*DrySend[1]; + DryBuffer[j][1] += value2*DrySend[1]; if(ALSource->Send[0].Slot.effectslot) { //Room path final mix buffer and panning (left) WetBuffer[j][0] += value*WetSend[0]; //Room path final mix buffer and panning (right) - WetBuffer[j][1] += value*WetSend[1]; + WetBuffer[j][1] += value2*WetSend[1]; } } DataPosFrac += increment; -- 2.11.4.GIT