]> git.alsa-project.org Git - alsa-plugins.git/commit
Use different buffer metrics in the PulseAudio plugin
authorTakashi Iwai <tiwai@suse.de>
Mon, 26 Nov 2007 10:02:24 +0000 (11:02 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 26 Nov 2007 10:02:24 +0000 (11:02 +0100)
commit327e169964b0a5bdcffb46eb49a305f3aabaeab4
tree803025d5eecae816a724de0fadfff21d4536c645
parent2a3260e3b3baef76262b57caca396566e0cec964
Use different buffer metrics in the PulseAudio plugin

It increases the "pre-buffering level" (i.e. start threshold) to the
full buffer size minus one period. This makes PA work a little bit
more like normal audio devices, and makes a few drop outs go away for
software which uses very small period sizes.

It also increases the initial maximum buffer size, which allows a
small overcommit. That's not really an issue, but cleaner nonetheless
so I smuggled it into this patch.

Also reported in the ALSA BTS:
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3578

From: Lennart Poettering <mznyfn@0pointer.de>
pulse/pcm_pulse.c