[Differential] [Request, 172 lines] D2270: Try to be more clever about what sink to use for volume control
drosca (David Rosca)
noreply at phabricator.kde.org
Fri Jul 22 19:59:18 UTC 2016
drosca created this revision.
drosca added a reviewer: Plasma.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY
This changes the applet to display volume icon and control volume
through scroll / global shortcuts of "preferred" sink.
Preferred sink is currently chosen according to these rules:
- if there is only one sink, that sink is preferred
- if there is some sink that is currently playing some sound, that sink is preferred (if default sink is playing sound, default sink is used instead)
- if there is some sink that is currently idle (there are streams on the device, but not currently playing), that one sink is preferred (same exception for default sink is used here as in case above)
This should help with changing the volume of correct audio device in
most cases.
BUG: 365771
REPOSITORY
rPLASMAPA Plasma Audio Volume Applet
BRANCH
preferred-devices (branched from master)
REVISION DETAIL
https://phabricator.kde.org/D2270
AFFECTED FILES
applet/contents/ui/main.qml
src/device.cpp
src/device.h
src/pulseaudio.cpp
src/pulseaudio.h
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: drosca, #plasma
Cc: plasma-devel, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160722/160f5718/attachment-0001.html>
More information about the Plasma-devel
mailing list