[Bug 13046] Intermittent audio looping in Beyond Good and Evil

wine-bugs at winehq.org wine-bugs at winehq.org
Fri May 9 11:32:09 CDT 2008


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





--- Comment #6 from Ben Mayhew <ben-dev at gmx.net>  2008-05-09 11:32:08 ---
Created an attachment (id=12842)
 --> (http://bugs.winehq.org/attachment.cgi?id=12842)
-d3d_draw,+dsound and some custom debug

I think I've found the direct cause of the problems.  I added some debug to
WaitForMultipleObjects and compared the handles to the ones passed to
SetNotificationPositions.

It looks like the app doesn't always wait for the notifications (i.e. 0xac &
0xd0 are left out of the call to WaitForMultipleObjects) and thus the thread
doesn't get woken up in time for the audio.

If this analysis is correct then that suggests that the real problem is that
one of the other events is not being sent when it should.  (And I thought this
couldn't get any more complicated :-( ).


-- 
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