diff options
author | Chris Robinson <[email protected]> | 2018-03-25 12:24:43 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-03-25 12:24:43 -0700 |
commit | 79eb2ea26e59febe52fb06807074cbb68ef103b4 (patch) | |
tree | 5950623fea00fd0442ed1856f56494a751ef6a4b /Alc | |
parent | f3672ab26b47763bcb8ef3f910062943319710a5 (diff) |
Reduce the gain of front-panned sounds with plain stereo
Now front-center sounds are attenuated by roughly -4.5dB instead of -3dB. This
will help keep rear-panned sounds from attenuating too much while not making
front-panned also attenuate too much.
Diffstat (limited to 'Alc')
-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 ae8315f3..b49eb2e7 100644 --- a/Alc/panning.c +++ b/Alc/panning.c @@ -383,8 +383,8 @@ static bool MakeSpeakerMap(ALCdevice *device, const AmbDecConf *conf, ALsizei sp static const ChannelMap MonoCfg[1] = { { FrontCenter, { 1.0f } }, }, StereoCfg[2] = { - { FrontLeft, { 5.00000000e-1f, 2.88675135e-1f, 0.0f, 1.19573156e-1f } }, - { FrontRight, { 5.00000000e-1f, -2.88675135e-1f, 0.0f, 1.19573156e-1f } }, + { FrontLeft, { 5.00000000e-1f, 2.88675135e-1f, 0.0f, 5.77350269e-2f } }, + { FrontRight, { 5.00000000e-1f, -2.88675135e-1f, 0.0f, 5.77350269e-2f } }, }, QuadCfg[4] = { { BackLeft, { 3.53553391e-1f, 2.04124145e-1f, 0.0f, -2.04124145e-1f } }, { FrontLeft, { 3.53553391e-1f, 2.04124145e-1f, 0.0f, 2.04124145e-1f } }, |