aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2009-09-15 19:06:47 -0700
committerChris Robinson <[email protected]>2009-09-15 19:06:47 -0700
commit12f81bcbb91f95df8bafdafa29f30adf55701203 (patch)
tree9628a3c6b312dfe6d1a609a5a729135f2b516e12 /Alc/ALu.c
parent6636131d3bb52687229881d4d2343b5c464b5c81 (diff)
Move the stereo-to-binaural filter to the device
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 509929b7..171758ba 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -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; \