http://bugs.winehq.org/show_bug.cgi?id=14717
--- Comment #216 from Alexander E. Patrakov patrakov@gmail.com 2011-11-06 07:21:40 CST --- Yes, it now makes perfect sense and clearly demonstrates that the noise problem is not in my code. It looks like I was wrong that my patch was equivalent to setting MaxShadowSize to 0. In order to force the old wine to resample in the mixer thread, you would need to set MaxShadowSize to -1, not 0. Not sure why the guides tell to set it to 0, though.
And of course, after any of the patches here, MaxShadowSize is not even read from the registry.
OTOH, it would be nice to find out what exactly in the old patch fixed it.