http://bugs.winehq.org/show_bug.cgi?id=29585
--- Comment #38 from Andrew Eikum aeikum@codeweavers.com 2012-02-17 10:41:21 CST --- Here's a 4-patch sequence. The first patch is the same as the debugging traces patch from comment 34.
The second patch is the OSS counterpart to winealsa's 8db18a893b3769d482f22bd2e2b545b82a31574f (winealsa: Avoid deadlock in AudioClient_Stop.). This fixes the "Wait returned 102" error. With this applied, wineoss behaves the same as winealsa in the mmdevapi render tests on my machine, modulo format problems.
The final two patches are quick hacks. The third patch tweaks the mmdevapi tests to always use int16_t format, instead of always using float. The last patch is just the hack from comment 32. This makes the audio heard on my machine continuous, instead of with underruns from the clock skew (this same hack fixes winealsa's underruns).
I guess I don't know if I expect these patches to fix Mateusz's problem. The second patch is definitely correct, and I'll send it off to wine-patches shortly. But I'm not convinced that's the problem Mateusz is experiencing. Regardless, I'm interested to know if applying 3 or all 4 of these patches helps anything.