[alsa-devel] [PATCH] Use different buffer metrics in the PulseAudio plugin

Lennart Poettering mznyfn at 0pointer.de
Sun Nov 25 22:09:53 CET 2007


Hi!

Please commit this patch to alsa-plugins we ship in Fedora:

http://cvs.fedoraproject.org/viewcvs/*checkout*/devel/alsa-plugins/1.0.14-buffer-attr.patch?rev=1.1

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

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net         ICQ# 11060553
http://0pointer.net/lennart/           GnuPG 0x1A015CC4


More information about the Alsa-devel mailing list