MIDIClient parm in MIDINotifyProc.execute
MIDIClient parm in MIDINotifyProc.execute
- Subject: MIDIClient parm in MIDINotifyProc.execute
- From: Scott Ruda <email@hidden>
- Date: Mon, 10 Sep 2001 23:56:54 -0700
I'm using the Java APIs to access the CoreAudio MIDI services and was
wondering if it is expected behavior for the MIDIClient parm in the
MIDINotifyProc.execute callback to always return a null value. (That's
what I always get). Normally I presume one would only ever create one
MIDIClient per application, and therefore it would be OK to assume that
parm would always be the one for the application. But I imagine that the
point of that parm would be in case you wanted to share a notify proc
with multiple MIDIClient instances in the same application. I currently
only have one client in my app, so I guess I can safely ignore the parm,
but it seems like it 'should' be a valid MIDIClient reference, no?
I noticed that in the native version of MIDINotifyProc there is no
MIDIClient parm. It seems odd that it is different in the Java API...
Scott