Alarm does not ring when phone is muted
Bug #1337917 reported by
Marco
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:/
Related branches
lp:~rsalveti/indicator-datetime/adding-media-role
- Ted Gould (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
- Jim Hodapp: Pending requested
-
Diff: 29 lines (+19/-0)1 file modifiedsrc/sound.cpp (+19/-0)
Changed in ubuntu-clock-app: | |
status: | New → Confirmed |
importance: | Undecided → High |
milestone: | none → rtm |
Changed in indicator-datetime (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Charles Kerr (charlesk) |
Changed in indicator-datetime (Ubuntu): | |
assignee: | Charles Kerr (charlesk) → Ricardo Salveti (rsalveti) |
status: | Confirmed → Fix Released |
tags: | added: rtm14 touch-2014-09-18 |
Changed in indicator-sound: | |
importance: | Undecided → High |
tags: |
added: touch-2014-10-09 removed: touch-2014-09-18 |
Changed in ubuntu-clock-app: | |
assignee: | nobody → Ricardo Salveti (rsalveti) |
To post a comment you must log in.
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? ..because you should be able to get a pointer to the pulsesink and set that property then from your code
[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.
[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