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

Emmanuel Maillard mahanuu at free.fr
Mon Apr 30 09:24:21 CDT 2007


Changelog :
	MIDIIn_MessageHandler : remove a TRACE and simplify skipping SysEx

-------------- next part --------------
From 56f4039bf36ba7e391ce0d8f9a7a9330944019d4 Mon Sep 17 00:00:00 2001
From: Emmanuel Maillard <mahanuu at free.fr>
Date: Mon, 30 Apr 2007 14:34:23 +0200
Subject: [PATCH] - 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(C
     MIDISource *src = NULL;
     DWORD sendData = 0;
 
-    TRACE("\n");
     switch (msgid)
     {
         case 0:
@@ -866,15 +865,6 @@ static CFDataRef MIDIIn_MessageHandler(C
             {
                 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)
             {
-- 
1.4.4



More information about the wine-patches mailing list