Emmanuel Maillard : winecoreaudio.drv: MIDIIn_MessageHandler: Remove a TRACE and simplify skipping SysEx.

Alexandre Julliard julliard at wine.codeweavers.com
Tue May 1 07:39:21 CDT 2007


Module: wine
Branch: master
Commit: 41b8a570dc14c42238897cd97c0b312838d0efd1
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=41b8a570dc14c42238897cd97c0b312838d0efd1

Author: Emmanuel Maillard <mahanuu at free.fr>
Date:   Mon Apr 30 14:34:23 2007 +0200

winecoreaudio.drv: MIDIIn_MessageHandler: Remove a TRACE and simplify skipping SysEx.

---

 dlls/winecoreaudio.drv/midi.c |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/dlls/winecoreaudio.drv/midi.c b/dlls/winecoreaudio.drv/midi.c
index f10f5f0..ba6c40e 100644
--- a/dlls/winecoreaudio.drv/midi.c
+++ b/dlls/winecoreaudio.drv/midi.c
@@ -845,7 +845,6 @@ static CFDataRef MIDIIn_MessageHandler(CFMessagePortRef local, SInt32 msgid, CFD
     MIDISource *src = NULL;
     DWORD sendData = 0;
 
-    TRACE("\n");
     switch (msgid)
     {
         case 0:
@@ -866,15 +865,6 @@ static CFDataRef MIDIIn_MessageHandler(CFMessagePortRef local, SInt32 msgid, CFD
             {
                 FIXME("Starting System Exclusive\n");
                 src->state |= 2;
-                for (i = 0; i < msg->length; ++i)
-                {
-                    if (msg->data[i] == 0xF7)
-                    {
-                        FIXME("Ending System Exclusive\n");
-                        src->state &= ~2;
-                    }
-                }
-                goto done;
             }
             if (src->state & 2)
             {




More information about the wine-cvs mailing list