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.
This commit is contained in:
parent
47161150d7
commit
7ad1b45d11
@ -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;
|
||||
|
||||
|
@ -144,7 +144,7 @@
|
||||
# Channel-specific layouts may be specified to override the layout option. The
|
||||
# same speakers as the layout option are available, and the default settings
|
||||
# are shown below.
|
||||
#layout_STEREO = fl=-90, fr=90
|
||||
#layout_STEREO = fl=-30, fr=30
|
||||
#layout_QUAD = fl=-45, fr=45, bl=-135, br=135
|
||||
#layout_51CHN = fl=-30, fr=30, fc=0, bl=-110, br=110
|
||||
#layout_61CHN = fl=-30, fr=30, fc=0, sl=-90, sr=90, bc=180
|
||||
|
Loading…
x
Reference in New Issue
Block a user