CoreMIDI Questions
CoreMIDI Questions
- Subject: CoreMIDI Questions
- From: Brian Luft <email@hidden>
- Date: Wed, 21 Nov 2001 22:31:21 -0600
I created a MIDIClient through MIDIClientCreate() and implemented the
notification callback function, in hopes that it would get called when
new MIDI devices are added to the system. However, it never gets called
when I unplug or plug in my USB MidiSport 2x2. Is this something I'm
doing wrong or a driver issue or an OS issue or what?
In addition, MIDIRestart() doesn't seem to work at all. I have an
enumerateDevices function that does what it says, and I allow the user
to call it at any time (partially as a workaround for the above
question). However, I found that when I call it after plugging in my
MidiSport, MIDIGetNumberOfSources() and -Destinations() returns the same
number as before I plugged in the MidiSport, as if it never happened!
So I tried putting a MIDIRestart() at the beginning of my
enumerateDevices, but to no avail. Can anyone shed some light on this
situation?
Thanks. Brian
---
Brian Luft
email@hidden
http://youma.cjb.net