aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/mixer.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/mixer.c')
-rw-r--r--Alc/mixer.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Alc/mixer.c b/Alc/mixer.c
index 36a08ccd..22c5aad7 100644
--- a/Alc/mixer.c
+++ b/Alc/mixer.c
@@ -411,12 +411,12 @@ ALvoid MixSource(ALactivesource *src, ALCdevice *Device, ALuint SamplesToDo)
Source->BuffersPlayed = BuffersPlayed;
Source->position = DataPosInt;
Source->position_fraction = DataPosFrac;
- Source->Hrtf.Offset += OutPos;
+ src->Direct.Mix.Hrtf.State.Offset += OutPos;
if(State == AL_PLAYING)
- Source->Hrtf.Counter = maxu(Source->Hrtf.Counter, OutPos) - OutPos;
+ src->Direct.Mix.Hrtf.State.Counter = maxu(src->Direct.Mix.Hrtf.State.Counter, OutPos) - OutPos;
else
{
- Source->Hrtf.Counter = 0;
- Source->Hrtf.Moving = AL_FALSE;
+ src->Direct.Mix.Hrtf.State.Counter = 0;
+ src->Direct.Mix.Hrtf.State.Moving = AL_FALSE;
}
}