aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;