Using PulseAudio on HDMI
A practical guide on how to correctly configure PulseAudio for audio output via HDMI on Linux.
EN
PTAfter migrating to PulseAudio, I had a problem trying to use the laptop's HDMI output. Games, videos, and music were not playing through the HDMI output.
Solution
Install pavucontrol.
$ pacman -S pavucontrol
Then open pavucontrol, navigate to where your HDMI device is, and click the activate button.
Now it's the default audio output device. :)
This article was translated from Portuguese with the help of an LLM. The original version may contain nuances not fully captured in this translation.