aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-03-11 19:59:14 -0800
committerChris Robinson <[email protected]>2016-03-11 19:59:14 -0800
commitbb03fe227bff59ed5528b1b27e1206b72b9c7a80 (patch)
treefdfc8a37a505cd53633052bc35324cedad517f25
parent859cc703e75c2699531f041ccd3e8169d44bea50 (diff)
Update the current HRTF delays if the stepping is not finished
-rw-r--r--Alc/mixer_inc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/Alc/mixer_inc.c b/Alc/mixer_inc.c
index d69becc9..5c5c885d 100644
--- a/Alc/mixer_inc.c
+++ b/Alc/mixer_inc.c
@@ -61,6 +61,11 @@ void MixHrtf(ALfloat (*restrict OutBuffer)[BUFFERSIZE], const ALfloat *data,
Delay[0] = hrtfparams->Target->Delay[0];
Delay[1] = hrtfparams->Target->Delay[1];
}
+ else
+ {
+ hrtfparams->Current->Delay[0] = Delay[0];
+ hrtfparams->Current->Delay[1] = Delay[1];
+ }
}
Delay[0] >>= HRTFDELAY_BITS;