The problem
On various intel devices (hp elitedesk, dell laptop) using intel 8gen cpu and hdmi connection does not want to output audio over hdmi.
Frustration: maximum
The fix
create the path and file # ~/.config/wireplumber/wireplumber.conf.d/force-s16.conf
and set the content
monitor.alsa.rules = [
{
matches = [ { node.name = "~alsa_output.pci-0000_00_1f.*" } ]
actions = { update-props = { audio.format = S16LE } }
}
]
Reference:
Thanks
Many thanks for @pvir for solving this.