From e650db98f7ff3ab6136f24c4a1680ea61d3fb037 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 21 May 2014 14:48:46 -0700 Subject: Use the correct input for HRTF mixing --- Alc/mixer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc/mixer.c') 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 ); -- cgit v1.2.3