[mediahub3] external_output_state().changed() signal never called for headphone jack plug/unplug events

Bug #1423722 reported by Jim Hodapp
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
media-hub (Ubuntu RTM)
Fix Released
High
Thomas Voß

Bug Description

current build number: 240
device name: krillin
channel: ubuntu-touch/ubuntu-rtm/14.09-proposed
last update: 2015-02-19 14:56:04
version version: 240
version ubuntu: 20150218.1
version device: 20150216-fe747ac
version custom: 20150216-561-29-186

media-hub-3 from https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu-rtm/landing-002:
ii libmedia-hub-client3:armhf 3.0.0+15.04.20150213~rtm-0ubuntu1
ii libmedia-hub-common3:armhf 3.0.0+15.04.20150213~rtm-0ubuntu1
ii media-hub 3.0.0+15.04.20150213~rtm-0ubuntu1

1. Play music from music-app and plug in headphones
2. Notice that music is now heard from headphones and the main speaker is turned off
3. Unplug headphones, notice that music is now heard from the main speaker but it does not autopause like it should

I debugged the PulseAudioOutputObserver class and don't see where it ever updates the connected state of the external_output_state class property in on_query_for_sink_finished() or any other function. I only see it initializing the property to disconnected to begin with, but then never sets it again.

Tags: mediahub3
Changed in media-hub (Ubuntu RTM):
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Thomas Voß (thomas-voss)
tags: added: mediahub3
Jim Hodapp (jhodapp)
Changed in media-hub (Ubuntu RTM):
status: Confirmed → In Progress
Revision history for this message
Ricardo Salveti (rsalveti) wrote :

Working fine with latest revision.

Changed in media-hub (Ubuntu RTM):
status: In Progress → Fix Committed
Jim Hodapp (jhodapp)
Changed in media-hub (Ubuntu RTM):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.