Use the correct input for HRTF mixing

This commit is contained in:
Chris Robinson 2014-05-21 14:48:46 -07:00
parent 4a8d38c19a
commit e650db98f7

View File

@ -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
);