Merge lp://staging/~charlesk/indicator-datetime/lp-1337348-use-gstreamer-api into lp://staging/indicator-datetime/13.10

Proposed by Charles Kerr
Status: Merged
Approved by: Ted Gould
Approved revision: 357
Merged at revision: 353
Proposed branch: lp://staging/~charlesk/indicator-datetime/lp-1337348-use-gstreamer-api
Merge into: lp://staging/indicator-datetime/13.10
Diff against target: 441 lines (+118/-149)
5 files modified
CMakeLists.txt (+1/-1)
debian/control (+1/-1)
src/snap.cpp (+106/-146)
tests/manual (+10/-0)
tests/test-locations.cpp (+0/-1)
To merge this branch: bzr merge lp://staging/~charlesk/indicator-datetime/lp-1337348-use-gstreamer-api
Reviewer Review Type Date Requested Status
Ted Gould (community) Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+225835@code.staging.launchpad.net

Commit message

Use GStreamer's API directly to play sound instead of using libcanberra.

Description of the change

== Description

use GStreamer's API directly to play sound instead of using libcanberra.

This lets us drop the canberra requirement and also fixes the alarm-sound-doesn't-stop-immediately-when-snap-is-dismissed phone issue.

== MP Submission Checklist

 * Are there any related MPs required for this MP to build/function as expected? Please list.

No

 * Is your branch in sync with latest trunk? (e.g. bzr pull lp:trunk -> no changes)

Yes

 * Did the code build without warnings?

Yes

 * Did the tests run successfully?

Yes

 * Did you perform an exploratory manual test run of your code change and any related functionality?

Yes

 * Has your component test plan been executed successfully on emulator, N4?

Yes

 * Please list which manual tests are germane for the reviewer in this MP.

The new manual test included in this MP: tell-snap-decision-to-dismiss

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Ted Gould (ted) :
355. By Charles Kerr

use GStreamer's full volume range.

356. By Charles Kerr

copyedit the new manual test for clarity.

357. By Charles Kerr

in snap.cpp, use std::call_once() as suggested by tedg

Revision history for this message
Charles Kerr (charlesk) :
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Ted Gould (ted) :
review: Approve
358. By Charles Kerr

silence dead store assignment found by clang static analyzer

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches