http://bugs.winehq.org/show_bug.cgi?id=14717
--- Comment #88 from Raymond superquad.vortex2@gmail.com 2010-12-27 21:05:57 CST --- (In reply to comment #74)
Yes, that's equivalent to what I wrote. And it suffers from the same problem: wine forces the use of its own sample-duplicating-and-dropping resampler (equivalent to "samplerate-order") for DirectSound apps before the ALSA resampler can see the data.
have you noticed that wine developer disable the resampling of the "default" device in dsoutput.c
#if SND_LIB_VERSION >= 0x010009 snd_pcm_hw_params_set_rate_resample(pcm, hw_params, 0); #endif
The capability of sampling provided by "rate" or "plug" plugin in your "default" device is disabled but no effect with "pulse" plugin because it is PA server perform resampling )
i.e. plug:dmix support only single sample rate only
this actually break the resampling of secondary software buffers when the sampling rate of the primary buffer is not supported by your hardware