[Bug 28982] Application Zero no Kiseki crashes when it tries to play 44100Hz Stereo WAVE music

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Nov 7 09:56:19 CST 2011


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

--- Comment #6 from Andrew Eikum <aeikum at codeweavers.com> 2011-11-07 09:56:19 CST ---
(In reply to comment #5)
> Created attachment 37341 [details]
> Add extra handling for unbuffered MMIO handles
> 
> Ok, here is a patch that solves all the problems.
> It fixes crashing, stuttering sound effect, and background music.
> 
> Maybe it's just bad coding on the application's part, but yeah this works and I
> dint notice any bugs. It might break other applications thought? Needs more
> testing.

The patch looks plausible, and passes all of the existing MMIO tests for me.
Could you try writing some tests in <dlls/winmm/tests/mmio.c> for the behavior
changes that you're adding? I also noticed that there are some #ifdef-ed out
blocks in that file with "remove once passes under Wine" comments; would you
expect your patch to fix any of these?

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