← Back to team overview

dx-packages team mailing list archive

[Bug 1368827] [NEW] [touch] indicator needs to be able to control volume per audio role

 

Public bug reported:

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

** Affects: indicator-sound (Ubuntu)
     Importance: High
         Status: Confirmed


** Tags: rtm14 touch-2014-09-25

** Tags added: rtm14 touch-2014-09-25

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

** Changed in: indicator-sound (Ubuntu)
   Importance: Undecided => High

-- 
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:
  [touch] indicator needs to be able to control volume per audio role

Status in “indicator-sound” package in Ubuntu:
  Confirmed

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/indicator-sound/+bug/1368827/+subscriptions


Follow ups

References