Open horazont opened 2 years ago
I don't know enough about alsa to know whether there is a reason the file is as it is. @popcornmix, should we pick up these changes?
FWIW, I tested (and am using) this profile set on a Raspberry Pi 2B.
It looks plausible. I'll test it Monday with AVR. Might be worth just checking it doesn't break anything with normal stereo use.
@popcornmix how did it go?
So I hope this is the right place. I have a proposal to modify the
/usr/share/pulseaudio/alsa-mixer/profile-sets/rpi-hdmi.conf
shipped by thepulseaudio
package on Raspberry Pi OS. This file is not provided by stock Debian, so I assume that it is an add-on provided by Raspberry Pi OS, and hence this may be the right place to report it.On bullseye, I see the following contents:
I created an alternative version:
Changes:
Added Mapping hdmi-surround:
Removed
fallback = yes
fromdigital-stereo
: Otherwise,digital-stereo
is not offered whenhdmi-surround
is detected correctly, asfallback = yes
options are only shown if no non-fallback options are available.In
pavucontrol
, this then offersDigital Stereo
andDigital Surround 5.1
profiles for the HDMI sink, which allows online switching between the profiles and to output 5.1 PCM sound via the HDMI output via pulseaudio, without having to resort to anypacmd load-module module-alsa-sink […]
hacks.It would be really nice if this change could be shipped with the OS so that users don't have to tinker as much with the options to get it to work.