aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-10-09 06:54:21 -0700
committerChris Robinson <[email protected]>2012-10-09 06:54:21 -0700
commita4f21aaa648a8bdef3b75725a4b60bc43fbbd8d7 (patch)
tree85b3475302e13223873ea31b133a7074ccdf1705 /Alc/ALu.c
parent39bc2ba65c5b52b46bd8dd1587837882d98c5120 (diff)
Set Hrtf.Moving after setting the source params instead of after mixing
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 02cdddfe..8dee6a43 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -777,6 +777,7 @@ ALvoid CalcSourceParams(ALsource *ALSource, const ALCcontext *ALContext)
ALSource->Params.Direct.Hrtf.Coeffs[0],
ALSource->Params.Direct.Hrtf.Delay[0]);
ALSource->Hrtf.Counter = 0;
+ ALSource->Hrtf.Moving = AL_TRUE;
ALSource->Params.Direct.Hrtf.Gain = DryGain;
ALSource->Params.Direct.Hrtf.Dir[0] = Position[0];
ALSource->Params.Direct.Hrtf.Dir[1] = Position[1];