pulsesink: Issue property change notification in streaming thread,
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Fri, 13 Feb 2009 17:03:14 +0000 (18:03 +0100)
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Fri, 13 Feb 2009 17:04:41 +0000 (18:04 +0100)
commit7756d37531ea48d1890363e8bda9b9872c771a9f
tree61f791b2f25e2adffd9a094f624e516c10f012e3
parent77c7eed1aecf9e1ee6c82014e447ac33575025b1
pulsesink: Issue property change notification in streaming thread,
rather than PA thread.

pa_threaded_mainloop_lock() (a.o.) and by extension get_property should
not be done from a PA thread, but the latter may occur as a result of a
property change notification.  Fixes #571204 (though current situation
not ideal, e.g. post message rather than signal).
ext/pulse/pulsesink.c
ext/pulse/pulsesink.h