View Single Post
Posts: 2,153 | Thanked: 8,462 times | Joined on May 2010
#919
Originally Posted by pali View Post
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 :-)


The Following 7 Users Say Thank You to pali For This Useful Post:
Estel, HELLASISGREECE, kent_autistic, sirpaul, Sourav.dubey, strange1712, vi_
Who tested my new autopause implementation for bluetooth headsets? I'd like to know if this implementation is better or not.
 

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