View Single Post
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#908
Originally Posted by pali View Post
Now I'm working on this autopausing feature. When it is working I will create merge request.
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.
 

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