diff options
author | Chris Robinson <[email protected]> | 2012-02-04 10:29:19 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-02-04 10:29:19 -0800 |
commit | 7ad1b45d11e74dd8d66378c9fbe913e2c5b53930 (patch) | |
tree | 8d2d4dbdb52b8c30a5ca0905851f0a0c8566235a /Alc/panning.c | |
parent | 47161150d7e414ef30bb03da4ecdfbdeae756464 (diff) |
Change the default stereo speaker positions to match the stereo channel positions
A separate "headphones" configuration may be nice to add for -90,+90, however
not many audio APIs can detect this. Ideally HRTF would be used with
headphones too, which largely ignores the speaker positions, however there
could be situations where this is unfeasible or unwanted.
Diffstat (limited to 'Alc/panning.c')
-rw-r--r-- | Alc/panning.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/panning.c b/Alc/panning.c index 0d83ea30..1d16188f 100644 --- a/Alc/panning.c +++ b/Alc/panning.c @@ -185,8 +185,8 @@ ALvoid aluInitPanning(ALCdevice *Device) Device->NumChan = 2; Speaker2Chan[0] = FRONT_LEFT; Speaker2Chan[1] = FRONT_RIGHT; - SpeakerAngle[0] = F_PI/180.0f * -90.0f; - SpeakerAngle[1] = F_PI/180.0f * 90.0f; + SpeakerAngle[0] = F_PI/180.0f * -30.0f; + SpeakerAngle[1] = F_PI/180.0f * 30.0f; SetSpeakerArrangement("layout_STEREO", SpeakerAngle, Speaker2Chan, Device->NumChan); break; |