aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-07-04 22:36:51 -0700
committerChris Robinson <[email protected]>2011-07-04 22:36:51 -0700
commit6020b964c7c2007724fca07d25a21ac5115cb8cf (patch)
tree7db035fa82c89a6093c5744dfe4711b836eafea0 /Alc
parentb2d5367830c7bc60e3593f3161eb1f65659a07ba (diff)
Fix some formatting
Diffstat (limited to 'Alc')
-rw-r--r--Alc/hrtf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/hrtf.c b/Alc/hrtf.c
index a4232079..15b59763 100644
--- a/Alc/hrtf.c
+++ b/Alc/hrtf.c
@@ -42,7 +42,7 @@ static struct HRTF {
// Calculate the elevation indices given the polar elevation in radians.
// This will return two indices between 0 and (evCount - 1) and an
// interpolation factor between 0.0 and 1.0.
-static void CalcEvIndices (ALfloat ev, ALuint evidx [2], ALfloat * evmu)
+static void CalcEvIndices(ALfloat ev, ALuint *evidx, ALfloat *evmu)
{
ev = (M_PI/2.0f + ev) * (evCount-1) / M_PI;
evidx[0] = (ALuint)ev;
@@ -53,7 +53,7 @@ static void CalcEvIndices (ALfloat ev, ALuint evidx [2], ALfloat * evmu)
// Calculate the azimuth indices given the polar azimuth in radians. This
// will return two indices between 0 and (azCount [ei] - 1) and an
// interpolation factor between 0.0 and 1.0.
-static void CalcAzIndices (ALuint evidx, ALfloat az, ALuint azidx [2], ALfloat * azmu)
+static void CalcAzIndices(ALuint evidx, ALfloat az, ALuint *azidx, ALfloat *azmu)
{
az = (M_PI*2.0f + az) * azCount[evidx] / (M_PI*2.0f);
azidx[0] = (ALuint)az % azCount[evidx];