diff options
author | Chris Robinson <[email protected]> | 2009-09-15 19:06:47 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2009-09-15 19:06:47 -0700 |
commit | 12f81bcbb91f95df8bafdafa29f30adf55701203 (patch) | |
tree | 9628a3c6b312dfe6d1a609a5a729135f2b516e12 /Alc/ALu.c | |
parent | 6636131d3bb52687229881d4d2343b5c464b5c81 (diff) |
Move the stereo-to-binaural filter to the device
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r-- | Alc/ALu.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1258,14 +1258,14 @@ ALvoid aluMixData(ALCcontext *ALContext,ALvoid *buffer,ALsizei size,ALenum forma } \ break; \ case AL_FORMAT_STEREO##bits: \ - if(ALContext && ALContext->bs2b) \ + if(ALContext && ALContext->Device->Bs2b) \ { \ for(i = 0;i < SamplesToDo;i++) \ { \ float samples[2]; \ samples[0] = DryBuffer[i][FRONT_LEFT]; \ samples[1] = DryBuffer[i][FRONT_RIGHT]; \ - bs2b_cross_feed(ALContext->bs2b, samples); \ + bs2b_cross_feed(ALContext->Device->Bs2b, samples); \ ((type*)buffer)[0] = (func)(samples[0]); \ ((type*)buffer)[1] = (func)(samples[1]); \ buffer = ((type*)buffer) + 2; \ |