Monitor output is selected as input device
EasyEffects Version
7.2.3
What package are you using?
NixOS
Distribution
NixOS
Describe the bug
EasyEffects defaults to a virtual monitor device as its input when a microphone is disconnected. This causes desktop audio to leak through the input. There currently doesn't seem to be an easy way to exclude devices from being automatically used without the use of external tools.
Expected Behavior
When an input device is disconnected, or becomes unavailable for some other reason, EasyEffects should switch to a alternative hardware input device. Or completely disconnect its inputs it there aren't any.
Debug Log
Debug Log
Paste your log here
Additional Information
The device that EE is switching to is a generic Intel onboard soundcard (using snd_hda_intel driver).
EasyEffects defaults to a virtual monitor device as its input when a microphone is disconnected.
Probably because WirePlumber set that device as default input. This is tough to fix on our side because it is a valid use case to have a virtual device or sink monitor ports as default input device. For example users may create virtual inputs through loopback devices or similar and want EasyEffects to process that.
The real question here is if WirePlumber should be setting those particular monitor ports as default input and broadcasting that.