Add a front-stablizer config option for surround sound modes
commit8a735d0ba9db9b4b992172dc197396cc655264d5
authorChris Robinson <chris.kcat@gmail.com>
Tue, 1 Aug 2017 06:49:48 +0000 (31 23:49 -0700)
committerChris Robinson <chris.kcat@gmail.com>
Tue, 1 Aug 2017 06:49:48 +0000 (31 23:49 -0700)
tree870ee7ed74e6028d92f3fc431c9b3c3243e08070
parent88c0d22e7c72109fb5d7b2ee3276680d36971368
Add a front-stablizer config option for surround sound modes

This improves a stereo (front-left + front-right) sound "image" by generating a
front-center channel signal. Done correctly, it helps reduce the comb effects
and phase errors associated with using only two speakers to simulate center
sounds.

Note that it shouldn't be used if the front-center channel is already included
in the positional audio mix (the dialog effect is okay). In general, it may
actually be better to exclude the front-center channel from the positional
audio mix and use this to generate front-center output.
Alc/ALc.c
Alc/ALu.c
Alc/bformatdec.h
Alc/panning.c
OpenAL32/Include/alMain.h
alsoftrc.sample