From c37a9719471a0ec72bf1716caf83f8ebd2a84e1a Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 24 Nov 2014 00:24:12 -0800 Subject: Rename step to steps --- Alc/hrtf.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Alc') diff --git a/Alc/hrtf.c b/Alc/hrtf.c index c3068a09..8561902e 100644 --- a/Alc/hrtf.c +++ b/Alc/hrtf.c @@ -223,7 +223,7 @@ ALuint GetMovingHrtfCoeffs(const struct Hrtf *Hrtf, ALfloat elevation, ALfloat a ALuint evidx[2], lidx[4], ridx[4]; ALfloat mu[3], blend[4]; ALfloat left, right; - ALfloat step; + ALfloat steps; ALuint i; /* Claculate elevation indices and interpolation factor. */ @@ -246,8 +246,8 @@ ALuint GetMovingHrtfCoeffs(const struct Hrtf *Hrtf, ALfloat elevation, ALfloat a } // Calculate the stepping parameters. - step = maxf(floorf(delta*(Hrtf->sampleRate*0.015f) + 0.5f), 1.0f); - delta = 1.0f / step; + steps = maxf(floorf(delta*(Hrtf->sampleRate*0.015f) + 0.5f), 1.0f); + delta = 1.0f / steps; /* Calculate 4 blending weights for 2D bilinear interpolation. */ blend[0] = (1.0f-mu[0]) * (1.0f-mu[2]); @@ -341,7 +341,7 @@ ALuint GetMovingHrtfCoeffs(const struct Hrtf *Hrtf, ALfloat elevation, ALfloat a * complete its transition. The mixer will only apply stepping for this * many samples. */ - return fastf2u(step); + return fastf2u(steps); } -- cgit v1.2.3