ao/openal: Add support for direct channels output

Uses OpenAL Soft's AL_DIRECT_CHANNELS_SOFT extension and can be controlled through
a new CLI option, --openal-direct-channels.
This allows one to send the audio data direrctly to the desired channel without
effects applied.
This commit is contained in:
LAGonauta
2018-03-28 10:33:38 -03:00
committed by Jan Ekström
parent abaab930f0
commit dd357a7d53
2 changed files with 16 additions and 0 deletions

View File

@@ -112,6 +112,12 @@ Available audio output drivers are:
``openal``
Experimental OpenAL audio output driver
``--openal-direct-channels=<yes|no>``
Enable OpenAL Soft's direct channel extension when available to avoid
tinting the sound with ambisonics or HRTF.
Channels are dropped when when they are not available as downmixing
will be disabled. Default: no.
.. note:: This driver is not very useful. Playing multi-channel audio with
it is slow.