aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2007-12-21 14:30:38 -0800
committerChris Robinson <[email protected]>2007-12-21 14:30:38 -0800
commit96bd020bd3663233e1273147cbda61d4f3ec01b3 (patch)
treeedb380e68c5fed954937178da4f32c90883bf8d7 /Alc/ALu.c
parent8dc2aef05851ebdc2e2a9bf443b529afba9a7e86 (diff)
Use the right-channel sample...
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c4
1 files 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;