Feature Request: Remove (or hide) port for a given card OR implement device fallback priority
Scenario: I have a monitor and a TV constantly plugged in my desktop. ALSA reports my monitor and my TV as audio sinks. (HDMI-2) My monitor doesn't have speakers.(HDMI-1)
I switch to my TV and set it as default device (either by extending the screen or by switching to TV only) Problem: Whenever I switch screen to monitor only the TV audio becomes unavailable but instead of audio being routed to speakers it is being routed to my monitor)
Workaround: As a workaround I've commented alsa files to set monitor audio as disconnected (/usr/share/pulseaudio/alsa-mixer/paths/hdmi-output-0.conf - I've added state.unplugged = yes to Jack section)
Request: A request would be to have some module (udev-detect?) or some control command to hide undesired sinks. Another solution would let user define the fallback device priority, like HDMI-2 > Headphone -> Speaker -> HDMI-0