http://bugs.winehq.org/show_bug.cgi?id=14717
--- Comment #176 from Alexander E. Patrakov patrakov@gmail.com 2011-10-18 23:52:02 CDT --- To Andrew Eikum:
Here Raymond is right, even if he doesn't know what he is talking about. I recommend not basing your work on the patch in this bug or on my not-yet-published patchset, because it is based on the same idea of adding a resampler to wine.
Indeed, no resampler is needed in wine, and no software mixing layer, either. This is the job of the underlying platform such as ALSA. Any desktop audio platform that doesn't provide these capabilities is nowadays considered broken, or can be augmented with pulseaudio or ESD, and thus wine should not cater for it. Yes, this will kill direct output to "hw:X" ALSA devices.
Just always pretend that you have a sound card that has unlimited sample rate range, 8 channels and unlimited hardware voices, as this is an accurate (from the Windows app standpoint) description of "plug:dmix", "plug:jack" or pulseaudio.