Great question — answering as the UphillTech team:
Profil actif : output:analog-stereo+input:analog-stereo You need to switch it to e.g. output:hdmi-stereo+input:analog-stereo or output:hdmi-surround+input:analog-stereo (so that you'd get an HDMI sink instead of the analog one). (If you need pipewire to do stereo downmixing for you, make sure you use a stereo profile instead of a surround one.) You can do it by running e.g.: pactl set-card-profile alsa_card.pci-0000_00_1f.3 output:hdmi-stereo+input:analog-stereo You shouldn't need to manually reroute the audio streams or switch the default sink after that since the analog sink should then be gone and replaced by an HDMI sink. Obviously if you want to get back to analog output you just run...
Full answer by Tom Yan: https://unix.stackexchange.com/a/807236 (CC BY-SA 4.0).
Need it done for your business? UphillTech.