[Bug 27540] Typing of the Dead demo: Crashes upon launch when directsound is set to emulation

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Sep 9 08:15:51 CDT 2011


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

Jörg Höhle <hoehle at users.sourceforge.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hoehle at users.sourceforge.ne
                   |                            |t

--- Comment #3 from Jörg Höhle <hoehle at users.sourceforge.net> 2011-09-09 08:15:50 CDT ---
BitsPerSample=2 is going nowhere.
Like bug #20056, the crash may be a consequence of the broken format.

trace:dsound:PrimaryBufferImpl_SetFormat (0x1ff1158,0x32fc68)
trace:dsound:DSOUND_PrimarySetFormat
(formattag=0x0001,chans=2,samplerate=44100,bytespersec=22050,blockalign=0,bitspersamp=2,cbSize=0)
warn:dsound:DSOUND_CopyFormat Fixing bad nAvgBytesPerSec (22050)

Sadly, "Fixing bad blockalign" does not trigger the way it's written in
CopyFormat.  Even if it would, it's doubtful that it would help prevent a
crash, because nBlockAlign would compute 0 from BitsPerSample 2.

Like with the other bug, the question remains: does the broken format originate
from the app, or from within Wine?

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