summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-11-24 00:24:12 -0800
committerChris Robinson <[email protected]>2014-11-24 00:24:12 -0800
commitc37a9719471a0ec72bf1716caf83f8ebd2a84e1a (patch)
tree08e11fe1305ae2e59d70dc656929fb58b8dbe28e
parent2111fad92fb6c4ab5cea91a43d543a6f9680e8ed (diff)
Rename step to steps
-rw-r--r--Alc/hrtf.c8
1 files changed, 4 insertions, 4 deletions
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);
}