Skip to contentSkip to conversation

Use different buffer metrics in the PulseAudio plugin

PATCH Applied Lennart Poettering 2 participants 2 messages Nov 25, 2007 – Nov 26, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Use different buffer metrics in the PulseAudio plugin

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

Signature · 3 lines
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net         ICQ# 11060553
http://0pointer.net/lennart/           GnuPG 0x1A015CC4
Applied
#1 lore raw

At Sun, 25 Nov 2007 22:09:53 +0100,

Quoted 16 lines · Lennart Poettering

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.

Quoted 5 lines

Also reported in the ALSA BTS:

https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3578

Lennart

Thanks, applied to HG tree now.

Takashi