Thread
:
Stopping music/media player when headset unplugged
View Single Post
thp
2010-07-20 , 13:48
Posts: 1,391 | Thanked: 4,272 times | Joined on Sep 2007 @ Vienna, Austria
#
125
Now that I have access to my SDK VM and the N900, I've fixed up the patch and merged it into the repository:
http://repo.or.cz/w/headphoned.git/c...ff/3077ae9b0fc
It works fine for me during testing with Skype's echo123 lady, and I assume it works also for incoming ("ringing") calls. It did not work when I sent the "pause" signal immediately when the call was disconnected, so I now send it 500ms after the call has been disconnected. It works reliable now for me, but you can hear ~ 400ms worth of your music between the time the call is disconnected and the time the signal is sent by headphoned and processed by the media player. Still better than pausing it manually in my opinion (although I can anticipate some bug reports complaining about this behaviour.. hehe).
This feature will be part of the upcoming headphoned release. Thanks for your valuable input, Surstroemming and Faheem
Quote & Reply
|
The Following 2 Users Say Thank You to thp For This Useful Post:
Flandry
,
qwerty12
thp
View Public Profile
Send a private message to thp
Visit thp's homepage!
Find all posts by thp