Alarm volume should use the stream-restore dbus api available in pulseaudio

Bug #1376513 reported by Ricardo Salveti on 2014-10-01
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Medium
Alejandro J. Cura
Ubuntu Clock App
Low
Unassigned
indicator-datetime (Ubuntu)
Medium
Charles Kerr

Bug Description

On touch (once bug 1368827 lands), we'll be able to set the volumes separately depending on the role (multimedia, alert, phone and alarm).

As the app provides an specific volume slider just for alarms, it needs to be changed to use this pulseaudio dbus api in order to change the volume just for the 'alarm' role.

You can find additional info for the stream restore API at http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/Developer/Clients/DBus/StreamRestore/ , and a cmdline tool (in python) using the same api at https://raw.githubusercontent.com/jusa/pulseaudio-utils/master/pasr.py.

Ricardo Salveti (rsalveti) wrote :

Once bug 1368827 lands you should also be able to set the volume for the 'alarm' role via the indicator (and with the vol up/down buttons), but only when the alarm audio stream is active (playing).

tags: added: rtm14
Changed in ubuntu-clock-app:
milestone: none → rtm
importance: Undecided → High
Changed in ubuntu-clock-app:
assignee: nobody → Nekhelesh Ramananthan (nik90)
status: New → Triaged
David Planella (dpm) on 2014-10-09
tags: added: ota-1 touch
Changed in ubuntu-clock-app:
milestone: rtm → ota-1
Changed in ubuntu-clock-app:
milestone: 3.3 → 3.4
Changed in ubuntu-clock-app:
assignee: Nekhelesh Ramananthan (nik90) → nobody
Bartosz Kosiorek (gang65) wrote :

Changing priority to Low.
Right now, the clock app communicates the alarm volume over to indicator-datetime which in turn adjusts the alarm volume
that bug however tried to removes the middle man indicator-datetime by allowing clock to directly adjust the alarm volume.

indicator-datetime does the the job, but sometimes it is nice to do things directly instead of relying on another package.

Changed in ubuntu-clock-app:
importance: High → Low
Changed in ubuntu-clock-app:
milestone: 3.4 → 3.5
Changed in ubuntu-clock-app:
milestone: 3.5 → 3.6
Changed in ubuntu-clock-app:
milestone: 3.6 → 3.x.backlog
Pat McGowan (pat-mcgowan) wrote :

The indicator can be the proxy but it really needs to manage this in pulse and not in a separate gschema setting. Currently we have two competing volume levels, one is adjusted in the app slider the other while the alarm is sounding.

Changed in indicator-datetime (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Changed in canonical-devices-system-image:
assignee: nobody → Alejandro J. Cura (alecu)
importance: Undecided → Medium
milestone: none → ww08-2016
status: New → Confirmed
Changed in indicator-datetime (Ubuntu):
assignee: nobody → Charles Kerr (charlesk)
Changed in canonical-devices-system-image:
milestone: ww08-2016 → 11
Changed in canonical-devices-system-image:
milestone: 11 → 12
Changed in canonical-devices-system-image:
milestone: 12 → 13
Tomas Öqvist (tomoqv) wrote :

Alarm volume on Meizu Pro 5 is very loud. Even though I have system sound settings on low volume, alarm sound scares the hell out of me!

Changed in canonical-devices-system-image:
milestone: 13 → backlog
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers