diff options
author | Chris Robinson <[email protected]> | 2014-11-05 04:11:18 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2014-11-05 04:11:18 -0800 |
commit | 6aed34cfb5a4e8add6a91410b6c8016570796943 (patch) | |
tree | 8b3f1e882a61e45433ac53eec869649f8f3058ed | |
parent | 59a2858239f8443184936ac3eb9ce87cb3bc8244 (diff) |
Don't use FrontLeft and FrontRight to reference the dry buffer
-rw-r--r-- | Alc/ALu.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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]; } } |