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 -- You received this bug notification because you are a member of DX Packages, which is subscribed to indicator-datetime in Ubuntu. Matching subscriptions: dx-packages https://bugs.launchpad.net/bugs/1337917 Title: Alarm does not ring when phone is muted Status in Clock application for Ubuntu devices: Confirmed Status in “indicator-datetime” package in Ubuntu: Confirmed 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. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-clock-app/+bug/1337917/+subscriptions -- Mailing list: https://launchpad.net/~dx-packages Post to : dx-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~dx-packages More help : https://help.launchpad.net/ListHelp