[Bug 8096] New: Bug in Sysexhandling of winealsa.drv

Wine Bugs wine-bugs at winehq.org
Wed Apr 18 11:43:06 CDT 2007


           Summary: Bug in Sysexhandling of winealsa.drv
           Product: Wine
           Version: unspecified
          Platform: Other
        OS/Version: other
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: wine-multimedia
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: musical_snake at gmx.de

When adding sysex buffers using midAddBuffer, the MHDR_INQUEUE flag is not
set in the lpMidiHdr->dwFlags.
This results in reaper (www.reaper.fm) completely freezes the machine when
trying to add sysex buffers (because it apparently checks the dwFlags Field of
the buffers it tries to add and will continuously add them to the bufferlist 
until all memory is exhausted).

A fix is to add following line in
dlls/winealsa.drv/midi.c, function midAddBuffer:

lpMidiHdr->dwFlags |= MHDR_INQUEUE;           <<<< add this line
if (MidiInDev[wDevID].lpQueueHdr == 0) { 


Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the wine-bugs mailing list