pulsesink: uncork fixes and use prebuf = 0
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 9 Apr 2009 15:18:54 +0000 (17:18 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 9 Apr 2009 15:26:21 +0000 (17:26 +0200)
commit8d58de128d4c9f3dfff7cc765c304ff8b7031ffc
tree4d88e16ee6cce1633256d6cfc45c0986114818f6
parentd849340e64da653d3f18d04713902d90c3d555b8
pulsesink: uncork fixes and use prebuf = 0

We can use prebuf = 0 to instruct pulse to not pause the stream on underflows.
This way we can remove the underflow callback. We however have to manually
uncork the stream now when we have no available space in the buffer or when we
are writing too far away from the current read_index.
ext/pulse/pulsesink.c