aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/mixer.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-05-21 14:48:46 -0700
committerChris Robinson <[email protected]>2014-05-21 14:48:46 -0700
commite650db98f7ff3ab6136f24c4a1680ea61d3fb037 (patch)
tree18c98cec90e7ec1d24566f4d90a510af0de4d44a /Alc/mixer.c
parent4a8d38c19ab12a0ae5ea5efcd81c907d81658eb6 (diff)
Use the correct input for HRTF mixing
Diffstat (limited to 'Alc/mixer.c')
-rw-r--r--Alc/mixer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/mixer.c b/Alc/mixer.c
index aa7aea2a..b12ecefb 100644
--- a/Alc/mixer.c
+++ b/Alc/mixer.c
@@ -359,7 +359,7 @@ ALvoid MixSource(ALactivesource *src, ALCdevice *Device, ALuint SamplesToDo)
parms->Counter, OutPos, DstBufferSize);
else
src->Dry.HrtfMix(
- parms->OutBuffer, SrcData, parms->Counter, parms->Offset,
+ parms->OutBuffer, samples, parms->Counter, parms->Offset,
OutPos, parms->Mix.Hrtf.IrSize, &parms->Mix.Hrtf.Params[chan],
&parms->Mix.Hrtf.State[chan], DstBufferSize
);