Dismissing the alarm dialog doesn't stop playing the alarm sound

Bug #1337348 reported by Charles Kerr
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Indicator Date and Time
Fix Released
High
Charles Kerr
Ubuntu Clock App
Fix Released
High
Charles Kerr

Bug Description

This works on the desktop, but not on the phone where alarms are more important.

The code in indicator-datetime is currently using libcanberra to play sounds. This code will be replaced with code using the new media API when it lands; however, I don't think that's scheduled for RTM.

So, the indicator-datetime's libcanberra client code currently calls ca_context_cancel() to end the sound when the snap decision is dismissed. On the desktop, this does The Right Thing by stopping the audio. On the phone, it does not stop the audio.

Related branches

Changed in indicator-datetime:
status: New → Confirmed
Charles Kerr (charlesk)
Changed in indicator-datetime:
importance: Undecided → High
assignee: nobody → Charles Kerr (charlesk)
Revision history for this message
Charles Kerr (charlesk) wrote :

Using the gstreamer API gets this working on phablet so that this can work on RTM without blocking on the Media API.

Charles Kerr (charlesk)
Changed in indicator-datetime:
status: Confirmed → Fix Released
Revision history for this message
Nekhelesh Ramananthan (nik90) wrote :

Added ubuntu clock app project to keep track of these issues fixed related to alarms for RTM.

Changed in ubuntu-clock-app:
status: New → Fix Released
milestone: none → rtm
importance: Undecided → High
Changed in ubuntu-clock-app:
assignee: nobody → Charles Kerr (charlesk)
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.