Pulseaudio tells us whether a profile is available or not. Right now, all profiles are shown. This patch limits the selection to the available ones, making it a bit easier to choose the right one.
Details
Details
- Reviewers
drosca - Group Reviewers
Plasma - Commits
- R994:206a00f95858: Move availability property from Port to Profile
R115:206a00f95858: Move availability property from Port to Profile
Compare to output of 'pactl show cards'. Add and remove audio sinks.
Diff Detail
Diff Detail
- Repository
- R115 Plasma Audio Volume Applet
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
I'm ok with the part of the patch that moves availability property from Port to Profile. Adding availableProfiles is not a good way to achieve what you want though. Profiles should be filtered on QML side.
Comment Actions
I'd like to have this in, do you think you could finish it? If not, I will take over.
Comment Actions
This breaks the context menu of output devices:
org.kde.plasma.volume/contents/ui/ListItemBase.qml:315: ReferenceError: Port is not defined