WIP: Disable UCM devices on suspend

Open Tanu Kaskinen requested to merge tanuk/pulseaudio:disable-ucm-devices-on-suspend into master

The third patch disables UCM devices when a sink or source is suspended. This may save some power. The rest of the patches are refactoring that I did while working on the main patch.

I marked this MR as WIP, because I haven't properly tested the patches. I don't have hardware that would use UCM. I hope someone else could give a quick test on UCM-enabled hardware.

Edited by Tanu Kaskinen

Merge request reports