Well you have to make sure your graphics card or whatever youre using supports audio on hdmi.
Then if everything is well connected, you should go to your sound hud, and open the option menu on your hdmi output and click ¨set as default device¨.
If the HDMI output doesnt appear in your HUD that...