cat /dev/sndstat
Installed devices:
pcm0: <ATI R6xx (HDMI)> (play) default
pcm1: <ATI R6xx (HDMI)> (play)
pcm2: <ATI R6xx (HDMI)> (play)
pcm3: <Conexant CX20632 (Analog)> (play/rec)
pcm4: <Conexant CX20632 (Front Analog Headphones)> (play)
pcm5: <Conexant CX20632 (Front Analog Headphones)> (play)
No devices installed from userspace.
sudo sysctl hw.snd.default_unit=0
on my 3 monitor setup this allows the default sound device to be my TV over displayport to hdmi cable and not my 1 liter mini pcs internal speaker. In linux i always had to select it in sound setting on EVERY boot. sigh...