Pause playback when output device status changes
Bug #1368300 reported by
Jim Hodapp
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Unassigned | ||
Media Hub |
Fix Released
|
High
|
Jim Hodapp | ||
media-hub (Ubuntu) |
Fix Released
|
Undecided
|
Jim Hodapp | ||
media-hub (Ubuntu RTM) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
media-hub needs to pause multimedia role players when 2 things happen:
1) A headphone is unplugged
2) a2dp goes from active to not active
For a first implementation, media-hub should directly use the PulseAudio API to be aware of these events. For the longterm, PulseAudio will publish these events over dbus which media-hub will react to.
Related branches
lp:~phablet-team/media-hub/pulse-output-change-pause
- Jim Hodapp (community): Approve (code)
- PS Jenkins bot: Approve (continuous-integration)
- Ricardo Salveti (community): Approve
-
Diff: 534 lines (+361/-8)7 files modifieddebian/control (+1/-0)
debian/media-hub.conf (+1/-1)
src/core/media/CMakeLists.txt (+3/-1)
src/core/media/service_implementation.cpp (+350/-2)
src/core/media/service_skeleton.cpp (+1/-0)
tests/unit-tests/CMakeLists.txt (+1/-0)
tests/unit-tests/test-gstreamer-engine.cpp (+4/-4)
Changed in media-hub: | |
status: | New → Triaged |
importance: | Undecided → Critical |
assignee: | nobody → Jim Hodapp (jhodapp) |
tags: | added: rtm14 |
tags: | added: touch-2014-09-25 |
tags: |
added: touch-2014-09-23 removed: touch-2014-09-25 |
tags: |
added: touch-2014-10-23 removed: touch-2014-09-23 |
tags: |
added: touch-2014-10-30 removed: touch-2014-10-23 |
Changed in media-hub: | |
importance: | Critical → High |
Changed in media-hub: | |
status: | Triaged → In Progress |
Changed in media-hub (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in media-hub (Ubuntu RTM): | |
status: | New → Confirmed |
Changed in media-hub (Ubuntu): | |
assignee: | nobody → Jim Hodapp (jhodapp) |
Changed in media-hub: | |
status: | In Progress → Fix Released |
Changed in canonical-devices-system-image: | |
importance: | Undecided → High |
milestone: | none → ww03-2015 |
status: | New → Confirmed |
Changed in canonical-devices-system-image: | |
status: | Confirmed → Fix Released |
To post a comment you must log in.
Status changed to 'Confirmed' because the bug affects multiple users.