pulsesink: Take a lock on the ringbuffer in acceptcaps
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Fri, 10 May 2013 06:02:44 +0000 (11:32 +0530)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Mon, 10 Jun 2013 07:35:16 +0000 (13:05 +0530)
commit84238d3ea467d0339a6b2e622e0fcac1678945cb
tree979a204f58bc765055f817577e5a23316515b602
parent4ef27eb0f9fbd6134acca46c1bb93a5e76e83a30
pulsesink: Take a lock on the ringbuffer in acceptcaps

This is needed as a concurrent state change could pull the context or
stream out from under our feet.

https://bugzilla.gnome.org/show_bug.cgi?id=686459
ext/pulse/pulsesink.c