https://bugs.winehq.org/show_bug.cgi?id=40581
Bug ID: 40581 Summary: Regression: dsound input recording from microphone lags with 2 seconds delay Product: Wine Version: 1.9.9 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-dsound Assignee: wine-bugs@winehq.org Reporter: iive@yahoo.com Distribution: ---
At first the bug was discovered by using steam.exe voice when running the build-in test.
It's is probably easier to reproduce by using Win32 version of `Audacity`. With that program you have immediate visual result and you can pick from 3 different input methods. The default one "MME" and the third one "WASAPI" work without any noticeable lag.
I got lucky when a person with nick debianuser in freenode irc, managed not only to reproduce the issue on his hardware, but also to find a version that is working properly. He even narrow it down to single release: wine-1.7.33 is working and wine-1.7.34 is buggy.
I did a git bisect to further narrow it down and ended up at:
commit d301254e72f018c3e04272115e20ffc70ffcbc12 Author: Andrew Eikum aeikum@codeweavers.com Date: Wed Dec 17 09:28:13 2014 -0600 mmdevapi: More accurately track device position.
Reverting this commit fixes the recording lag, not only in 1.7.34 but also in 1.9.9 .