Handle 3D7.1 as a separate channel configuration
commit593966c8dbdbf2dbcd8768b258a3b22adb548b2f
authorChris Robinson <chris.kcat@gmail.com>
Wed, 27 Apr 2022 06:32:15 +0000 (26 23:32 -0700)
committerChris Robinson <chris.kcat@gmail.com>
Wed, 27 Apr 2022 06:32:15 +0000 (26 23:32 -0700)
tree720dd3a36188cdb1ff55165d1b2bd51e5fd7d687
parent07dd62e53f3abaf918262953895961bd38848a7e
Handle 3D7.1 as a separate channel configuration

It's treated as 5.1 + 2 aux channels. This allows AL_DIRECT_CHANNELS_SOFT to
behave better, not forwarding rear left/right channel inputs to lower front and
upper rear, and allows reporting a more appropriate output mode to the app
instead of 7.1.
22 files changed:
alc/alc.cpp
alc/backends/base.cpp
alc/backends/base.h
alc/backends/coreaudio.cpp
alc/backends/dsound.cpp
alc/backends/oboe.cpp
alc/backends/opensl.cpp
alc/backends/pipewire.cpp
alc/backends/pulseaudio.cpp
alc/backends/wasapi.cpp
alc/backends/wave.cpp
alc/backends/winmm.cpp
alc/context.cpp
alc/device.cpp
alc/panning.cpp
core/devformat.cpp
core/devformat.h
docs/3D7.1.txt
presets/3D7.1.ambdec
utils/alsoft-config/mainwindow.cpp
utils/alsoft-config/mainwindow.h
utils/alsoft-config/mainwindow.ui