Support sink and source priorities configurable by user
We need to be able to assign input and output device priorities, so that the user is able to configure which devices are used by default, especially when new devices are connected and disconnected.
In KDE, up until Plasma 5.17, this functionality was supported through module-device-manager. Users were able to configure input and output device priorities in KDE System Settings, including depending on the application role. In Plasma 5.18 this functionality is no longer available, and there isn't a replacement (neither in KDE nor in PulseAudio). To my knowledge, other DEs don't have this kind of functionality either.
There are device priorities in PulseAudio, but they are assigned by PA internally and are not user-configurable. It would be great if those were user-configurable and persistent (i.e. saved in config files), including for devices that are currently not connected. The "default device" flag that is present now would be replaced by priorities (i.e. the currently connected device with the highest priority would be the default). This would solve problems regarding wrong devices being used by default that get reported here regularly (e.g. #876, #870 (closed)).
Note: I'm not asking separate priority lists, as were maintained by module-device-manager. IMHO, a single global priority list would be enough and an immense improvement over the current situation. Users are able to change the device for select applications already, and this choice is remembered, which mitigates the need for per-role priority lists.