MIDI In support set 2 (1/7)

Emmanuel Maillard mahanuu at free.fr
Thu Apr 26 16:20:29 CDT 2007


Hi,

This is the second set of patches for MIDI In support in Mac OS X.

Thanks

Emmanuel

Changelog:
- MIDI_NotifyClient add MIDI In messages

-------------- next part --------------
From 4550481e4461b13438e25aa188abc21c9c99c65c Mon Sep 17 00:00:00 2001
From: Emmanuel Maillard <mahanuu at free.fr>
Date: Thu, 26 Apr 2007 21:34:46 +0200
Subject: [PATCH] - MIDI_NotifyClient add MIDI In messages

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

diff --git a/dlls/winecoreaudio.drv/midi.c b/dlls/winecoreaudio.drv/midi.c
index ff43a35..dd6e954 100644
--- a/dlls/winecoreaudio.drv/midi.c
+++ b/dlls/winecoreaudio.drv/midi.c
@@ -242,6 +242,11 @@ static DWORD MIDI_NotifyClient(UINT wDev
     case MIM_ERROR:
     case MIM_LONGERROR:
     case MIM_MOREDATA:
+        dwCallBack = sources[wDevID].midiDesc.dwCallback;
+	uFlags = sources[wDevID].wFlags;
+	hDev = sources[wDevID].midiDesc.hMidi;
+	dwInstance = sources[wDevID].midiDesc.dwInstance;
+        break;
     default:
 	WARN("Unsupported MSW-MIDI message %u\n", wMsg);
 	return MMSYSERR_ERROR;
-- 
1.4.4



More information about the wine-patches mailing list