aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2010-01-12 09:11:46 -0800
committerChris Robinson <[email protected]>2010-01-12 09:11:46 -0800
commit931f5875cdc4ce0ac61a5110f11e962426e53d99 (patch)
treeb2392987c20c5279ddbab866e93ccfddaee0dff8 /Alc/ALu.c
parentf22b02a76250a34af351d25f5ebbf924d24e17eb (diff)
Fix speaker angle fixup
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index ce8b6025..884c4a8a 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -194,7 +194,7 @@ static ALvoid SetSpeakerArrangement(const char *name, ALfloat SpeakerAngle[OUTPU
{
AL_PRINT("Speaker %d of %d does not follow previous: %f > %f\n", i, chans,
SpeakerAngle[i-1] * 180.0f/M_PI, SpeakerAngle[i] * 180.0f/M_PI);
- SpeakerAngle[i] = SpeakerAngle[i-1] + 1 * 180.0f/M_PI;
+ SpeakerAngle[i] = SpeakerAngle[i-1] + 1 * M_PI/180.0f;
}
}
}