winealsa: Use an ALSA buffer of 4 periods to limit prefill.

Joerg-Cyril.Hoehle at t-systems.com Joerg-Cyril.Hoehle at t-systems.com
Wed Dec 21 07:46:16 CST 2011


Hi,

Here's the patch to limit/recommend an ALSA buffer size to either
4 ALSA periods or 4x mmdevapi periods, whichever is larger, based
on the thoughts in comment 102 of bug 28723.

Limiting the ALSA buffer size has the added advantage that it
won't lose too many frames when stopped.

Nevertheless, we're seeking a solution that does not require 100
wake-ups per second to play even the simplest .wav.
Suggestions welcome.

Regards,
	Jörg Höhle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 003-winealsa-buffer-4-periods.patch
Type: application/octet-stream
Size: 2719 bytes
Desc: 003-winealsa-buffer-4-periods.patch
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20111221/2ef5c6f2/attachment.obj>


More information about the wine-patches mailing list