Alarm does not ring when phone is muted

Bug #1337917 reported by Marco
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Clock App
Fix Released
Critical
Ricardo Salveti
indicator-datetime (Ubuntu)
Fix Released
High
Ricardo Salveti

Bug Description

I expect the alarm to go off even if the phone is muted.

I am not sure if this is a simple fix or all the things mentioned at https://wiki.ubuntu.com/SilentMode need to be implemented first.

Related branches

Changed in ubuntu-clock-app:
status: New → Confirmed
importance: Undecided → High
milestone: none → rtm
Charles Kerr (charlesk)
Changed in indicator-datetime (Ubuntu):
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Charles Kerr (charlesk)
Revision history for this message
Charles Kerr (charlesk) wrote :

This is dependent on the audio stream work that rsalveti is doing. Once that's ready, we'll know what PA properties need to get set in indicator-datetime s.t. the alarms play in the Alarms audio stream, bypassing the phone mute.

So that I'll still remember it when I come back to this task :), here's the basic shape of what needs to happen in indicator-datetime as discussed by nik90, jhodapp, rsalveti, and me in #ubuntu-touch:

[10:56:30] <charles> rsalveti, also while we're on the topic, what does indicator-datetime need to change to set the "alarm" role for the sounds it's playing?
[10:56:57] <nik90_> rsalveti: is there somewhere this is being tracked?
[10:58:07] <jhodapp> charles: how is indicator-datetime playing the sounds...does it use a Qt object?
[10:58:30] <charles> jhodapp, it's using gstreamer
[10:59:14] <jhodapp> charles: right, ok...so yeah it'll be using pulsesink then
[11:04:02] <charles> jhodapp, ok. Do you know what properties datetime should set there for the alarms, or is that an rsalveti question?
[11:05:25] <jhodapp> charles: it's rsalveti since it's dealing with pulse...I'm not exactly sure how you'll get the gstreamer pulsesink to select which output stream to be on
[11:06:19] <charles> jhodapp, np; thanks for the info
[11:06:47] <jhodapp> charles: looking at the pulsesink docs on freedesktop.org, it does look like there is a stream-properties property for the sink
[11:07:05] <jhodapp> charles: that might possibly allow you to select your stream
[11:07:26] <jhodapp> charles: I assume you're using playbin to play the alarm sound?
[11:07:55] <charles> jhodapp, right
[11:08:47] <jhodapp> charles: yeah, take a look at the pulsesink source code to see what types of properties it'll take in that GstStructure...because you should be able to get a pointer to the pulsesink and set that property then from your code
[12:19:43] <rsalveti> nik90_: charles: jhodapp: yeah, once the stream is using the right properties, pulse should do the right thing
[12:19:52] <rsalveti> but that is still in progress, didn't land yet
[12:20:06] <rsalveti> and I need to put a bit more work on it to be useful, so hopefully I should know more next week

Revision history for this message
Nekhelesh Ramananthan (nik90) wrote :

Raising priority to critical since this is a must for RTM and missing alarms due to the phone being silent doesn't look too good.

Changed in ubuntu-clock-app:
importance: High → Critical
status: Confirmed → Triaged
Charles Kerr (charlesk)
Changed in indicator-datetime (Ubuntu):
assignee: Charles Kerr (charlesk) → Ricardo Salveti (rsalveti)
status: Confirmed → Fix Released
Revision history for this message
Charles Kerr (charlesk) wrote :

Confirmed that after https://code.launchpad.net/~rsalveti/indicator-datetime/adding-media-role/+merge/233299, the alarm now plays even if ubuntu-system-settings > sound > silent mode is checked to 'on'.

Tested on mako + rtm build 32, and marking as fix-released for indicator-datetime.

After talking to rsalveti in #phablet, there is still a component of this to be done for indicator-sound, to be able to control volume per roles, and not the master one.

Changed in indicator-sound:
status: New → Triaged
Changed in ubuntu-clock-app:
status: Triaged → Fix Released
tags: added: rtm14 touch-2014-09-18
Ted Gould (ted)
Changed in indicator-sound:
importance: Undecided → High
tags: added: touch-2014-10-09
removed: touch-2014-09-18
Revision history for this message
Ricardo Salveti (rsalveti) wrote :

The volume part of it is described by bug 1368827.

no longer affects: indicator-sound
Changed in ubuntu-clock-app:
assignee: nobody → Ricardo Salveti (rsalveti)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.