[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
Tue Dec 6 14:04:01 CST 2011


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

Jari Vetoniemi <mailRoxas at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #37636|0                           |1
        is obsolete|                            |

--- Comment #20 from Jari Vetoniemi <mailRoxas at gmail.com> 2011-12-06 14:04:01 CST ---
Created attachment 37834
  --> http://bugs.winehq.org/attachment.cgi?id=37834
New patch

Ok, this patch should be bit better.

But anyways, I'm going to clear up things here a bit.
First of all, I have no idea why setting lBufOffset on MMIOM_SEEK causes the
program not crash. I've reversed the DLL that handles the BGM music in game,
but did not found anything useful, and wine output isn't particular helpful
either.

Second, to make the BGM loop, the file must be seek back when file read
function returns EOF. There is still that "looping" issue, but I'm pretty sure
it's issue somewhere else, maybe not even in wine.

The earlier test I wrote, should at least success with this on both windows and
linux, but yeah. More work is still needed, like finding what is the real
reason for the crash and how to write test for that.

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