← Back to team overview

touch-packages team mailing list archive

[Bug 1368827] Re: [FFe] [touch] indicator needs to be able to control volume per audio role

 

** Summary changed:

- [touch] indicator needs to be able to control volume per audio role
+ [FFe] [touch] indicator needs to be able to control volume per audio role

** Changed in: indicator-sound (Ubuntu)
       Status: In Progress => New

** Description changed:

+ Dear Release Team,
+ 
  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).

** Description changed:

  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).

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to indicator-sound in Ubuntu.
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:
  New

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