pulsesrc: cleanups
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 28 Jul 2009 16:29:07 +0000 (18:29 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 28 Jul 2009 16:34:15 +0000 (18:34 +0200)
commit2d88251d9d90aafab7e6e953a6627530e681e2de
treefbd31770d8e7a5e72a9662805386a40281963927
parent19233e9671192e2cba3fb841211f314eb2f2eb94
pulsesrc: cleanups

Keep track of the paused state of the source and leave the read function when
paused.
don't wait for a latency update when the delay is not yet known but simply
return 0 instead of blocking.
Keep track of the corked state of the stream.
Fix the state changes.
ext/pulse/pulsesrc.c
ext/pulse/pulsesrc.h