Improve detection of inactive Profiles
We were relying on inactive profiles (those with no sources or sinks) to be named "off" by the audio server.
Instead, check directly whether the profile have any sources or sinks. This is more robust against possible changes in the server.
Now rebased over !241 (merged), so it's even simpler to access to the number of sinks and sources.
BUG: 482520
FIXED-IN: 6.1
I cannot reproduce the issue in the BR, but the description makes me think this can fix it. If you can, please try and comment.
Edited by Ismael Asensio