View Single Post
Posts: 2,153 | Thanked: 8,462 times | Joined on May 2010
#915
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.
@gidzzz: Merge request is created: https://gitorious.org/qt-mediaplayer...rge_requests/8
 

The Following 2 Users Say Thank You to pali For This Useful Post: