http://bugs.winehq.org/show_bug.cgi?id=16329
--- Comment #9 from Raymond superquad.vortex2@gmail.com 2010-07-25 21:42:59 --- (In reply to comment #6)
The test passes with the OSS driver. So I assume this is a bug in the ALSA driver.
The point is whether those USB audio device can pass the ds3d test in windows or using oss driver
it is not easy to find a buffer size which fit all sound cards , some of the sound card may just use a buffer size which is near 0.5 second as the current implementation specify for a buffer time of 0.5 seconds.
as dsound has a default sampling rate ,
wine may use snd_pcm_hw_params_set_buffer_size_near(pcm , hw_params ,0.5 seconds x default sampling rate ) .
but you still need to set period or set_period_size which still depend on sound card