[Bug 37173] New: waveOutOpen() fails to play sound effects in "Comix Zone"

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Aug 25 10:27:07 CDT 2014


https://bugs.winehq.org/show_bug.cgi?id=37173

            Bug ID: 37173
           Summary: waveOutOpen() fails to play sound effects in "Comix
                    Zone"
           Product: Wine
           Version: 1.6.2
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: -unknown
          Assignee: wine-bugs at winehq.org
          Reporter: bill.carson at outlook.com

AppDB entry:
https://appdb.winehq.org/objectManager.php?sClass=version&iId=30804

The game "Comix Zone" uses winmm.dll to produce its sound effects, through the
well-documented AIL library.  Despite the midi functionality working as should,
sound is left behind.  I've traced the progam, and the relevant system calls
are as follows:

0009:Call KERNEL32.LoadLibraryA(7def0b2c "winmm.dll") ret=7dee503e
0009:Ret  KERNEL32.LoadLibraryA() retval=7e880000 ret=7dee503e
0009:Call winmm.waveOutGetNumDevs() ret=00401278
0009:Ret  winmm.waveOutGetNumDevs() retval=00000004 ret=00401278
                                           ^^^^^^^^ -> RETURNS 4 AVAILABLE WAVE
SINKS
...
0009:Call
winmm.waveOutOpen(0018d260,00000000,005f31a0,2000975b,00000000,00030000)
ret=2000992b
                            ^^^^^^^^ -> POINTER TO RECEIVING HANDLE
                                     ^^^^^^^^ -> OPEN FIRST DEVICE
                                              ^^^^^^^^ -> WAVEFORMATEX STRUCT
                                                       ^^^^^^^^^^^^^^^^^ ->
CALLBACK WITHOUT USER DATA
                                                                        
^^^^^^^^ -> opened with flag "CALLBACK_FUNCTION"

So far everything seems normal...

0009:Ret  winmm.waveOutOpen() retval=00000004 ret=2000992b
                                     ^^^^^^^^ -> !!!! MMSYSERR_ALLOCATED:
Device already allocated !!!!
0009:Call KERNEL32.lstrcpyA(20017cb0,2001c388 "waveOutOpen() failed\n")
ret=200022f6
0009:Ret  KERNEL32.lstrcpyA() retval=20017cb0 ret=200022f6

The complete runtrace is too large to include, but the program itself can be
obtained here:
http://www.myabandonware.com/game/comix-zone-1s1

I have genuinely no idea what could be locking the device.
It's a real shame, as all other functionality of this application is fine (much
better than on contemporary MS Windows systems).
If any information should be missing, do not hesitate to contact me!

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