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