View Single Post
Posts: 1,680 | Thanked: 3,685 times | Joined on Jan 2011
#910
Originally Posted by pali View Post
Now it is implemented
Git repository: https://gitorious.org/~pali/qt-media...li-mediaplayer

Due to speed of Qt and QtDBus is autopause delayed (1-3s) when bluetooth headset disconnected. Autopause when disconnected wired headset seems working realime. I added code (in last commit) to monitor also GPIO jack state (state is immedialey false when nothing is connected to jack). Seems that this fixed delay problem for wired headset. But I have no idea how to speed up bluetooth disconnect event (bluez daemon dbus signal is delayed and also qt signal/slots are not realtime).

So at least on my n900 disconnecting wired headset autopause player and nothing is heard from speakers.
I just spoodged in my pants.
__________________
N900: One of God's own prototypes. A high-powered mutant of some kind never even considered for mass production. Too weird to live, and too rare to die.
 

The Following User Says Thank You to vi_ For This Useful Post: