pulsesrc: improve clock handling
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 7 Jun 2012 13:03:02 +0000 (15:03 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 7 Jun 2012 13:15:03 +0000 (15:15 +0200)
commit456c8e8205bf89d3523fa567a6daf6ea9754a99d
tree5d97db0672b65dbf9dd49e2c21001b79eb1ce599
parent3bcae1939870094062930c6932e436e43a29701c
pulsesrc: improve clock handling

Post the notify outside of the pa_lock to avoid a deadlock caused by basesrc
calling get_time with the object lock.
Reset the clock on connect.
Post clock-lost and clock-provide messages.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=673977

Conflicts:

ext/pulse/pulsesrc.c
ext/pulse/pulsesrc.c