Thread
:
[ANNOUNCE] Alpha release of Open Media Player
View Single Post
pali
2012-04-05 , 09:59
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#
912
I created new example daemon which will pause MAFW when pulseaudio master device changes. It listen for pulseaudio events and when special nokia module change routing (from bluetooth to internal board or reverse) daemon will send dbus signal to MAFW to pause playing. This daemon should have smaller delay in pausing MAFW as headphoned or my in-build implementation in OMP, because it immediately pause MAFW (not wait until bluez daemon tell us that headset is really disconnected)
Source code:
http://atrey.karlin.mff.cuni.cz/~pali/autopause.c
Armel binary:
http://atrey.karlin.mff.cuni.cz/~pali/autopause
Please test it if this daemon is better when headphoned (and my in-build implementation in OMP) for bluetooth headsets. And if yes I will include this pulseaudio implementation into OMP.
Note: do not forget to kill headphoned daemon and turn off in-build implementation :-)
Quote & Reply
|
The Following 8 Users Say Thank You to pali For This Useful Post:
Bahador
,
Estel
,
HELLASISGREECE
,
kent_autistic
,
sirpaul
,
Sourav.dubey
,
strange1712
,
vi_
pali
View Public Profile
Find all posts by pali