dx-packages team mailing list archive
-
dx-packages team
-
Mailing list archive
-
Message #22846
[Bug 1368827] Re: [FFe] [touch] indicator needs to be able to control volume per audio role
** Branch linked: lp:ubuntu/utopic-proposed/indicator-sound
--
You received this bug notification because you are a member of DX
Packages, which is subscribed to indicator-sound in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1368827
Title:
[FFe] [touch] indicator needs to be able to control volume per audio
role
Status in “indicator-sound” package in Ubuntu:
In Progress
Bug description:
Dear Release Team,
I would like to request a FFe for indicator-sound, in order to deliver
the remaining features needed for Ubuntu Touch.
From the Sound design for Touch (https://wiki.ubuntu.com/Sound#Phone),
we need to change the default behaviour of the indicator in order to
be able to change volume per audio roles, and not only the master
volume.
On touch the master volume will always be at 100%, and each media role
will have its own volume values, so we can have a different volume
level for multimedia, ringtone and alarms.
This can be done using the streamrestore module in pulseaudio (via another dbus entry point that is only enabled on touch atm):
http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/Developer/Clients/DBus/StreamRestore/
There's also a sample script on python that can be used to set/get volume per roles:
https://raw.githubusercontent.com/jusa/pulseaudio-utils/master/pasr.py
And the current roles supporter by touch are: multimedia, alert, phone
and alarm.
This change is touch specific as it needs a combination of configs
that are available in ubuntu-touch-session for it to be used
(different code path that only gets used on touch).
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/indicator-sound/+bug/1368827/+subscriptions
References