Re: MIDIClient parm in MIDINotifyProc.execute
Re: MIDIClient parm in MIDINotifyProc.execute
- Subject: Re: MIDIClient parm in MIDINotifyProc.execute
- From: Scott Ruda <email@hidden>
- Date: Tue, 11 Sep 2001 23:35:22 -0700
On Tuesday, September 11, 2001, at 10:14 PM, Bill Stewart
<email@hidden> wrote:
This will be non-null if you've used the following call on MIDIClient:
public MIDIClient (CAFString name, MIDINotifyProc notifyProc)
If you're using the default MIDIClient, then you're notification
param will be null
What do you mean by the 'default MIDIClient'? I see only one constructor
for MIDIClient, and I don't see any other way to reference a MIDIClient,
e.g. nothing in MIDISetup or any other class. How might one utilize a
'default' MIDIClient instead of constructing one manually?
I am in fact using the MIDIClient constructor 'public MIDIClient
(CAFString name, MIDINotifyProc notifyProc)' and am intermittently
getting notifications with a null value for the MIDIClient parm in the
callback.
Scott