Support for disconnect during active calls
commit3077ae9b0fc9c766c6214c0a08e65ccbeef685ac
authorThomas Perl <thp@thpinfo.com>
Tue, 20 Jul 2010 13:37:44 +0000 (20 15:37 +0200)
committerThomas Perl <thp@thpinfo.com>
Tue, 20 Jul 2010 13:37:44 +0000 (20 15:37 +0200)
tree038f2f32cd2adc3cdbff09d5674a49561f1f638d
parent0cca9650dbfed5f0166c7a11c0a1665dd2a97718
Support for disconnect during active calls

This patch makes headphoned track the state of
calls (ringing, active, none). The daemon will
automatically send another "pause" signal after
the call has ended in cases where the headphones
are unplugged during a call.

Without this hack, the built-in media player
resumes playback after the active call ends.
src/headphoned.c