[Bug 18220] New: mWavEdit: midi sysex communication fails

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Apr 26 06:31:43 CDT 2009


           Summary: mWavEdit: midi sysex communication fails
           Product: Wine
           Version: 1.1.19
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: winmm&mci
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: ld0d at kolumbus.fi

Created an attachment (id=20726)
 --> (http://bugs.winehq.org/attachment.cgi?id=20726)
Wine midi call trace log

The SoundTower Microwave Editor 4.0.1
(http://www.soundtower.com/microwave/mw2_files/mw2_page.htm) fails to
communicate with the Microwave XT using midi sysex. I attached a log taken with

The interesting part seems to be:
trace:midi:midPrepare (0003, 0x1570c10, 00000040);
trace:winmm:MMDRV_Message => MMSYSERR_INVALPARAM

I also traced the code a bit, and it seems that mWavEdit calls
midiInPrepareHeader with a buffer of size 70000 (>0x10000) which causes the
MMSYSERR_INVALPARAM in midPrepare() (in dlls/winealsa.drv/midi.c). Now, I do
not know why the buffer size is limited to 0x10000, but changing the limit to
0x20000 in all the three places in winealsa.drv/midi.c fixes the problem and
mWavEdit works perfectly.

Can this be fixed in Wine, or should I contact the authors of the program?

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