Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3745

Troubleshooting • Re: Pi 5 bookworm HDMI Audio Channel Order

$
0
0
I'm not sure if this is exactly the same issue, but I found this post after googling for my issue which is very similar - 5.1 surround sound via HDMI into a home theater system, but some of the channels were mixed up (front-center playing through the subwoofer etc.).

If it helps anyone, I was able to fix it using this Stack Exchange Ask Ubuntu answer as a hint.

Basically:
1. Make sure the right Device Profile is selected for audio (in my case Digital Surround 5.1 (HDMI) Output). You should check this every so often while testing just in case it reverts to the wrong device profile and you're left confused!
2. Run "speaker-test -c6" in a terminal to test the current channels. (Change the number based on channels - e.g. for 5.1 use -c6, for 7.1 use -c8)
3. Open /usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf in a text editor and find the entry for your device profile (in my case [Mapping hdmi-surround] - Digital Surround 5.1 (HDMI) Output).
4. Move the "channel map" around, e.g. if the subwoofer and rear right speakers seem to be swapped in the speaker-test, swap "lfe" and "rear-right" and save the file.
5. Reboot and try "speaker-test -c6" again. (In theory I think you can just restart pulseaudio but that didn't work properly for me).

This fixed the problem for me:

Code:

[Mapping hdmi-surround]description = Digital Surround 5.1 (HDMI)device-strings = hdmi:%fpaths-output = hdmi-output-0channel-map = front-left,front-right,lfe,front-center,rear-left,rear-rightpriority = 8direction = output
Of course your mapping may vary!

Statistics: Posted by martimekko — Tue Feb 06, 2024 6:40 pm



Viewing all articles
Browse latest Browse all 3745

Trending Articles