https://bugs.winehq.org/show_bug.cgi?id=42074
--- Comment #10 from Andrew Eikum aeikum@codeweavers.com --- (In reply to Ivan Molodetskikh from comment #9)
(In reply to Andrew Eikum from comment #8)
Created attachment 56649 [details] dsound: Don't queue more than three periods
Thanks, I think I see the problem. Can you try applying this patch on top of latest Wine and see if it helps?
It seems to have fixed the latency! And there's no crackling, too (even on even lower values than the ones I tested).
So, just to be clear, that patch fixes this bug for you, right?
I plan to send it, but I need to test it some more as it changes timing in dsound, which is a really fragile area.