The tsched watermark variable was incorrectly used even for sinks with timer scheduling disabled, causing XRUNs on every rewind. This patch sets a fixed margin of 20 msec for such rewinds, thus avoiding the underrun. One could argue that the margin should be adjustable somehow (or based on fragment-size, or something else), but this patch at least fixes the immediate problem, causing "crackling" output on (at least) one machine. -- David Henningsson, Canonical Ltd. http://launchpad.net/~diwic -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-Do-not-use-tsched-watermark-if-tsched-is-disabled.patch Type: text/x-patch Size: 1730 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20100817/94e11f9c/attachment.bin>