aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-11-05 04:11:18 -0800
committerChris Robinson <[email protected]>2014-11-05 04:11:18 -0800
commit6aed34cfb5a4e8add6a91410b6c8016570796943 (patch)
tree8b3f1e882a61e45433ac53eec869649f8f3058ed /Alc
parent59a2858239f8443184936ac3eb9ce87cb3bc8244 (diff)
Don't use FrontLeft and FrontRight to reference the dry buffer
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALu.c8
1 files changed, 4 insertions, 4 deletions
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];
}
}