http://bugs.winehq.org/show_bug.cgi?id=30639
--- Comment #15 from Alexander E. Patrakov patrakov@gmail.com 2012-05-13 12:19:33 CDT --- I was wrong again. Darwinia Demo is relevant, and the debugging line is wrong. It should be:
TRACE("(%p,%d,%d) @ %d Hz -> %d Hz\n",dsb,writepos,mixlen, dsb->freq, dsb->device->pwfx->nSamplesPerSec);
Darwinia Demo uses 32 buffers with weird and constantly changing sample rates, and resamples them all to 22050 Hz.