Hi Aaron,

I tried using a timer to poll Windows Midi at intervals, but it was a mess and 
slowed things badly. What I do now is use WinUSBNotificationMBS to tell me when 
a USB device is added or removed, then I wait 250ms to give the Win Midi system 
a chance to catch up, then I query Midi devices to see if any are of interest 
to my (specialized) app.

Beware that XP and Win7 return different info for some properties of 
WindowsMidiInputInfoMBS and WindowsMidiOutputInfoMBS, like "Name".

Julia



------------------------------

Message: 6
Date: Mon, 19 Mar 2012 02:04:38 -0400
From: Aaron Andrew Hunt 
<[email protected]<mailto:[email protected]>>
Subject: [MBS] Windows MIDI device info callback?
To: 
[email protected]<mailto:[email protected]>
Message-ID: 
<[email protected]<mailto:[email protected]>>
Content-Type: text/plain; charset=us-ascii

On Mac there is MIDIClientMBS which can be subclassed to get events for 
reacting to changes in the MIDI setup, but I don't see anything in the Windows 
classes for it. Is there something?

Thanks,
Aaron

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to