[openal] AL_direct_channels_soft with AL_FORMAT_51CHN16, bug?

Luís Felipe Safady lagonauta at gmail.com
Mon Apr 2 12:10:50 EDT 2018


Good day everyone,

I am doing various changes to MPV's OpenAL output driver and one of those
is adding multichannel support through MC extensions.

While experimenting with "AL_FORMAT_51CHN16" (actually "AL_FORMAT_51CHN32"
but my point stands) I noticed that the back left and back right speakers
were not being played with "AL_direct_channels_soft" set and my surround
speakers set to 5.1 (tested on Windows and Linux with PulseAudio).

The sound is played only if I force my sound card to 7.1 and move the
connector from the back speakers to the side speakers connection. I tried
forcing my "channels" to "surround51" and "surround51rear" in the config
file but it made no difference.

Is this expected or is this a bug? I understand OpenAL Soft will not
spatialize the source when "AL_direct_channels_soft" is set but I expected
sound to be heard on the back speakers of a 5.1 source as the speakers are
present.

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openal.org/pipermail/openal/attachments/20180402/9881415c/attachment.html>


More information about the openal mailing list