diff options
Diffstat (limited to 'Alc/mixer_inc.c')
-rw-r--r-- | Alc/mixer_inc.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Alc/mixer_inc.c b/Alc/mixer_inc.c index e836db45..97266d40 100644 --- a/Alc/mixer_inc.c +++ b/Alc/mixer_inc.c @@ -35,15 +35,15 @@ void MixDirect_Hrtf(const DirectParams *params, const ALfloat *RESTRICT data, AL ALfloat (*RESTRICT DryBuffer)[BUFFERSIZE] = params->OutBuffer; ALfloat *RESTRICT ClickRemoval = params->ClickRemoval; ALfloat *RESTRICT PendingClicks = params->PendingClicks; - const ALuint IrSize = params->Hrtf.IrSize; - const ALint *RESTRICT DelayStep = params->Hrtf.DelayStep; - const ALfloat (*RESTRICT CoeffStep)[2] = params->Hrtf.CoeffStep; - const ALfloat (*RESTRICT TargetCoeffs)[2] = params->Hrtf.Coeffs[srcchan]; - const ALuint *RESTRICT TargetDelay = params->Hrtf.Delay[srcchan]; - ALfloat *RESTRICT History = params->hrtfState->History[srcchan]; - ALfloat (*RESTRICT Values)[2] = params->hrtfState->Values[srcchan]; - ALint Counter = maxu(params->hrtfState->Counter, OutPos) - OutPos; - ALuint Offset = params->hrtfState->Offset + OutPos; + const ALuint IrSize = params->Hrtf.Params.IrSize; + const ALint *RESTRICT DelayStep = params->Hrtf.Params.DelayStep; + const ALfloat (*RESTRICT CoeffStep)[2] = params->Hrtf.Params.CoeffStep; + const ALfloat (*RESTRICT TargetCoeffs)[2] = params->Hrtf.Params.Coeffs[srcchan]; + const ALuint *RESTRICT TargetDelay = params->Hrtf.Params.Delay[srcchan]; + ALfloat *RESTRICT History = params->Hrtf.State->History[srcchan]; + ALfloat (*RESTRICT Values)[2] = params->Hrtf.State->Values[srcchan]; + ALint Counter = maxu(params->Hrtf.State->Counter, OutPos) - OutPos; + ALuint Offset = params->Hrtf.State->Offset + OutPos; ALIGN(16) ALfloat Coeffs[HRIR_LENGTH][2]; ALuint Delay[2]; ALfloat left, right; |