diff options
author | Chris Robinson <[email protected]> | 2016-03-11 19:59:14 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2016-03-11 19:59:14 -0800 |
commit | bb03fe227bff59ed5528b1b27e1206b72b9c7a80 (patch) | |
tree | fdfc8a37a505cd53633052bc35324cedad517f25 /Alc/mixer_inc.c | |
parent | 859cc703e75c2699531f041ccd3e8169d44bea50 (diff) |
Update the current HRTF delays if the stepping is not finished
Diffstat (limited to 'Alc/mixer_inc.c')
-rw-r--r-- | Alc/mixer_inc.c | 5 |
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; |