http://bugs.winehq.org/show_bug.cgi?id=29472
--- Comment #1 from Jörg Höhle hoehle@users.sourceforge.net 2011-12-30 09:36:45 CST --- [in the attachment:] commit 62017964bead565a1da427faaf083e5103c27440 Author: Jörg Höhle Joerg-Cyril.Hoehle@t-systems.com Date: Fri Dec 9 17:12:54 2011 +0100 winealsa: Implement IAudioClock::GetPosition() using snd_pcm_delay.
Could you please apply the latest patch to dlls/mdevapi/tests/render.c from bug #27937 cd dlls/mmdevapi/tests; git apply myfile.patch; make; and attach here the output of WINETEST_DEBUG=2 wine mmdevapi_test.exe.so render
What if you change the sleep(350); slept+=350; within the patch to use 750ms instead?
Perhaps your sound card does not provide correct/sensible data from snd_pcm_delay. Do you have other sound cards that behave correctly? What if you change winealsa/mmdevdrv.c from "default" to defname="hw:0"; or whatever ALSA calls your sound card(s)?