http://bugs.winehq.org/show_bug.cgi?id=12349
--- Comment #7 from Jörg Höhle hoehle@users.sourceforge.net 2008-04-14 10:01:20 --- Patch submitted to wine-patches. For the record, Maarten suggested to use "-2" in the second check, because len is always even. I argue that -3 is always safe and appropriate (for a loop that writes 4 bytes at a time) and does not require an extra comment to explain that -2 is good enough in this particular case. So I submitted it with i<len-3. Feel free to apply any modifications before you git-commit, I won't take offense.
Given time, I'll try and find out more about the other issue: noise vs. well-played sound samples.