Skip to content

Improve detection of inactive Profiles

Ismael Asensio requested to merge work/iasensio/detect-off-profiles into master

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.

CC: @broulik @ngraham

Edited by Ismael Asensio

Merge request reports