aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/panning.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-10-11 04:07:33 -0700
committerChris Robinson <[email protected]>2014-10-11 04:07:33 -0700
commit79163b075517c88c86c8f63f32669c75f2c66404 (patch)
treed59db611bfb91bce648d53dcd4b4d51e813bdf12 /Alc/panning.c
parent70b23ab77f99c6e4baeca3cb74355a027cf6769d (diff)
Fix stereo device configuration
Diffstat (limited to 'Alc/panning.c')
-rw-r--r--Alc/panning.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/panning.c b/Alc/panning.c
index 91a1f478..e73c99aa 100644
--- a/Alc/panning.c
+++ b/Alc/panning.c
@@ -87,8 +87,8 @@ ALvoid aluInitPanning(ALCdevice *device)
static const ChannelConfig MonoCfg[1] = {
{ FrontCenter, DEG2RAD(0.0f), DEG2RAD(0.0f), { 1.4142f } }
}, StereoCfg[2] = {
- { FrontLeft, DEG2RAD(-90.0f), DEG2RAD(0.0f), { 0.7071f, -0.5f, 0.0f, 0.0f } },
- { FrontLeft, DEG2RAD( 90.0f), DEG2RAD(0.0f), { 0.7071f, 0.5f, 0.0f, 0.0f } }
+ { FrontLeft, DEG2RAD(-90.0f), DEG2RAD(0.0f), { 0.7071f, 0.0f, 0.5f, 0.0f } },
+ { FrontRight, DEG2RAD( 90.0f), DEG2RAD(0.0f), { 0.7071f, 0.0f, -0.5f, 0.0f } }
}, QuadCfg[4] = {
{ FrontLeft, DEG2RAD( -45.0f), DEG2RAD(0.0f), { 0.353558f, 0.306181f, 0.306192f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.117183f } },
{ FrontRight, DEG2RAD( 45.0f), DEG2RAD(0.0f), { 0.353543f, 0.306181f, -0.306192f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, -0.117193f } },