WINEALSA: completely fill mmap buffer

Alex Villaci­s Lasso a_villacis at palosanto.com
Mon Mar 21 11:17:11 CST 2005


In my configuration (Fedora Core 2, alsa-lib 1.0.3a-2), the available 
frames for filling do not always become an exact multiple of the period 
size. This leaves a section of the mmap buffer unfilled, and causes a 
*very* annoying buzzing when an application requests DirectSound with 
winealsa (except in emulation mode). This patch fixes it by checking 
whether a section of the buffer still remains unfilled, and fills it 
without rounding to a multiple of the period size.

Changelog:
* Completely fill mmap buffer

-------------- next part --------------
A non-text attachment was scrubbed...
Name: wine-winmm-winealsa-full-mmap.patch
Type: text/x-patch
Size: 1345 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050321/ad9dbd18/wine-winmm-winealsa-full-mmap.bin


More information about the wine-patches mailing list