[Bug 18823] The Typing of the Dead freezes during intro

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Aug 2 06:18:56 CDT 2009


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





--- Comment #1 from Torbjörn Söderstedt <torbjrn at users.sourceforge.net>  2009-08-02 06:18:51 ---
Created an attachment (id=22777)
 --> (http://bugs.winehq.org/attachment.cgi?id=22777)
Fix

DSOUND_PrimarySetFormat will copy the new format before checking if it is
supported. If changing format fails 
without causing DSERR_BUFFERLOST, the buffer will have incorrect settings. I
created a temporary buffer that is used 
by the affected code.

The Typing of the Dead tries to set a format with nBlockAlign=0
(wBitsPerSample=2), leading to a division by zero in 
DSOUND_MixInBuffer.

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