So I have a monitor connected to my laptop via HDMI. The connected one is my main monitor, the laptop is stowed away in a corner acting as a tower. I still use the laptop headphone jack for my earbuds, but my monitor also has speakers. When I unplug the headphones, the laptop speakers output sound instead of my monitor.
I know how to switch playback devices, but is there a way to tell my computer to automatically switch to HDMI audio if no jack is in the plug?