[Bug 29585] wineoss.drv audio renderer not on par with others

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Feb 14 11:12:20 CST 2012


http://bugs.winehq.org/show_bug.cgi?id=29585

--- Comment #32 from Andrew Eikum <aeikum at codeweavers.com> 2012-02-14 11:12:20 CST ---
I wonder if this is another timer skew problem, caused by CreateTimerQueueTimer
not being as accurate as we need.

I ran the tests with WINETEST_INTERACTIVE=1 and found I got two different
behaviors. About 75% of the time, all tests would pass without fail, although I
didn't hear any audio. The other 25% of the time, I'd get similar results to
comment 30, where the Wait() call fails continually. Eventually it would crash.

I changed the OSS timer interval to be:

     if(!CreateTimerQueueTimer(&This->timer, g_timer_q,
-                oss_period_callback, This, 0, This->period_us / 1000,
+                oss_period_callback, This, 0, This->period_us / 1000 * 0.75,
                 WT_EXECUTEINTIMERTHREAD))

and it stopped failing entirely.

Mateusz, could you try this little hack and see if Anomaly's behavior improves,
or if that test failure goes away?

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list