pulsesrc: avoid race in starting
authorWim Taymans <wim.taymans@collabora.co.uk>
Sun, 7 Aug 2011 09:14:50 +0000 (11:14 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Sun, 7 Aug 2011 09:17:41 +0000 (11:17 +0200)
commit71346020d5d9e9254b844bc71e422df74838ea3f
treecca3f1a054ee345977bf6005c95fa9d3aae91af2
parent76b1dac41bd52e47e4d89c2e044b26f4a5ce94cf
pulsesrc: avoid race in starting

Sine the base class now does the negotiation from the streaming thread we have
to be careful and check if the stream is ready before changing its corked state.
ext/pulse/pulsesrc.c
ext/pulse/pulsesrc.h