DSOUND: tolerate inexact conversion between different frequencies

Alex Villací­s Lasso a_villacis at palosanto.com
Thu Sep 8 17:11:03 CDT 2005

During the winealsa tests, I am frequently annoyed by the following: 
say, in playing a 11050Hz secondary buffer with an 8000Hz primary 
buffer, the number of samples are converted form secondary->primary and 
back. In the process, the number of consumed samples in the secondary 
buffer drifts by a few frames from the actual value, and this triggers 
the warning about "problem with underflow detection". This patch allows 
a tolerance of up to 4 bytes before issuing the message.

Alex Villacís Lasso

-------------- next part --------------
A non-text attachment was scrubbed...
Name: wine-dsound-freq_tolerance.patch
Type: text/x-patch
Size: 654 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050908/75586e5c/wine-dsound-freq_tolerance.patch

More information about the wine-patches mailing list