I used an external program that is triggered by keyboard shortcuts, I can check the name later if you are interested. I switch sound between HDMI and direct sound output.