From 6aed34cfb5a4e8add6a91410b6c8016570796943 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 5 Nov 2014 04:11:18 -0800 Subject: Don't use FrontLeft and FrontRight to reference the dry buffer --- Alc/ALu.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Alc') diff --git a/Alc/ALu.c b/Alc/ALu.c index da133140..f9e143da 100644 --- a/Alc/ALu.c +++ b/Alc/ALu.c @@ -1218,11 +1218,11 @@ ALvoid aluMixData(ALCdevice *device, ALvoid *buffer, ALsizei size) for(i = 0;i < SamplesToDo;i++) { float samples[2]; - samples[0] = device->DryBuffer[FrontLeft][i]; - samples[1] = device->DryBuffer[FrontRight][i]; + samples[0] = device->DryBuffer[0][i]; + samples[1] = device->DryBuffer[1][i]; bs2b_cross_feed(device->Bs2b, samples); - device->DryBuffer[FrontLeft][i] = samples[0]; - device->DryBuffer[FrontRight][i] = samples[1]; + device->DryBuffer[0][i] = samples[0]; + device->DryBuffer[1][i] = samples[1]; } } -- cgit v1.2.3