From a4f21aaa648a8bdef3b75725a4b60bc43fbbd8d7 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 9 Oct 2012 06:54:21 -0700 Subject: Set Hrtf.Moving after setting the source params instead of after mixing --- Alc/mixer.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'Alc/mixer.c') diff --git a/Alc/mixer.c b/Alc/mixer.c index 1390b1f7..67efd70f 100644 --- a/Alc/mixer.c +++ b/Alc/mixer.c @@ -412,10 +412,7 @@ ALvoid MixSource(ALsource *Source, ALCdevice *Device, ALuint SamplesToDo) Source->position_fraction = DataPosFrac; Source->Hrtf.Offset += OutPos; if(State == AL_PLAYING) - { Source->Hrtf.Counter = maxu(Source->Hrtf.Counter, OutPos) - OutPos; - Source->Hrtf.Moving = AL_TRUE; - } else { Source->Hrtf.Counter = 0; -- cgit v1.2.3