http://bugs.winehq.org/show_bug.cgi?id=16329
--- Comment #8 from Raymond superquad.vortex2@gmail.com 2010-07-25 21:15:52 --- (In reply to comment #7)
(In reply to comment #6)
The test passes with the OSS driver. So I assume this is a bug in the ALSA driver.
The test can run without these error in windows too
The mean that the bug in is winealsa.drv since waveout.c wavein.c use snd_pcm_hw_params_set_buffer_time() , alsa allocate different buffer size when you use different rate
wine have to use snd_pcm_hw_params_set_buffer_size_near() if it want alsa to allocate same buffer size when using different rate
it should be dsoutput.c and dscapture.c should use snd_pcm_hw_params_set_buffet_size_near() instead of snd_pcm_hw_params_set_buffer_time_near()