pulse: make it work on 0.9.12
authorStefan Kost <ensonic@users.sf.net>
Fri, 10 Apr 2009 18:42:13 +0000 (21:42 +0300)
committerStefan Kost <ensonic@users.sf.net>
Fri, 10 Apr 2009 18:42:13 +0000 (21:42 +0300)
commitb3d66d5e8df0287cdc684eb3bbcbb539b3a786c0
tree36ab43c9e436634b3015af4b7996cadbd01c3c80
parent963b343548b0da29dc7f4f28db76b74c431d53fc
pulse: make it work on 0.9.12

First we ignore request to fill the ringbuffer which are less then a segment.
The small request where causing stutter.
Then we disable flushing the stream when running against pa 0.9.12 as this
triggers an assertiong in the sound server and terminates it. It does not happen
with 0.9.10 and 0.9.14.
ext/pulse/pulsesink.c
ext/pulse/pulsesink.h