[Bug 26985] 1by1 Player version 1.74 freezes under normal use

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Apr 30 10:24:03 CDT 2012


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

--- Comment #44 from Andrew Eikum <aeikum at codeweavers.com> 2012-04-30 10:24:03 CDT ---
It's an application bug that Windows works around but Wine doesn't. The
application releases the dsound primary buffer twice:

IDirectSound_CreateSoundBuffer(dsound, DSBCAPS_PRIMARYBUFFER, &primary);
IDirectSoundBuffer_Release(primary);
IDirectSound_CreateSoundBuffer(dsound, 0, &secondary);
IDirectSoundBuffer_Play(secondary);
...
IDirectSoundBuffer_Stop(secondary);
IDirectSoundBuffer_Release(secondary);
IDirectSoundBuffer_Release(primary);
IDirectSound_Release(dsound);

It appears that Windows continually returns 0 from invalid primary
IDSB_Release() calls. I'll write some tests for this.

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