pulsesink: clear the PA mainloop if baseaudiosink failed to open the ring_buffer
authorPhilippe Normand <phil@base-art.net>
Tue, 17 Aug 2010 11:41:49 +0000 (13:41 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Sat, 4 Sep 2010 12:52:06 +0000 (14:52 +0200)
commit2c5976d355ed703288bcb0e832ddb999b157ba6e
tree0f59a5bc94de26a29d148d17e4d36cf0f81e031a
parent95f5b494faccf8e858197457256ccf3cb1ef61e6
pulsesink: clear the PA mainloop if baseaudiosink failed to open the ring_buffer

If the application requests a state-change and pulsesink fails to open
the ring_buffer device the mainloop attribute of the sink should be
cleaned up to avoid future state-change (NULL->READY) failures.
ext/pulse/pulsesink.c