From 0ce0a88fd67ddcf7cb5248ac08d36cfa1c0013eb Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 23 Mar 2014 03:03:03 -0700 Subject: Move the step counter and moving flag to DirectParams --- Alc/mixer_inc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc/mixer_inc.c') diff --git a/Alc/mixer_inc.c b/Alc/mixer_inc.c index c9c9bd6b..1cb1967d 100644 --- a/Alc/mixer_inc.c +++ b/Alc/mixer_inc.c @@ -43,8 +43,8 @@ void MixDirect_Hrtf(DirectParams *params, const ALfloat *restrict data, ALuint s const ALuint *restrict TargetDelay = params->Mix.Hrtf.Params.Delay[srcchan]; ALfloat *restrict History = params->Mix.Hrtf.State.History[srcchan]; ALfloat (*restrict Values)[2] = params->Mix.Hrtf.State.Values[srcchan]; - ALint Counter = maxu(params->Mix.Hrtf.State.Counter, OutPos) - OutPos; ALuint Offset = params->Mix.Hrtf.State.Offset + OutPos; + ALint Counter = maxu(params->Counter, OutPos) - OutPos; ALIGN(16) ALfloat Coeffs[HRIR_LENGTH][2]; ALuint Delay[2]; ALfloat left, right; -- cgit v1.2.3