Re: MIDIClientCreate Arguments
Re: MIDIClientCreate Arguments
- Subject: Re: MIDIClientCreate Arguments
- From: tahome izwah <email@hidden>
- Date: Mon, 28 Feb 2011 10:09:27 +0100
Like with all callback methods it can be anything. You could pass a
pointer to an instance of a class that you want to have access to, or
any other reference of your choosing.
HTH
--th
2011/2/28 Matthew Hubble <email@hidden>:
> Hello Mailing List,
>
> Just working on a program that creates a virtual MIDI port to send out MIDI
> messages to other programs and so far it all seems to work.
>
> I am using the MIDIClientCreate function declared below:
>
> extern OSStatus
> MIDIClientCreate( CFStringRef name,
> MIDINotifyProc notifyProc,
> void * notifyRefCon,
> MIDIClientRef * outClient )
>
> and was wondering what the notifyRefCon argument is? In the documentation it
> just says:
>
> A refCon passed back to notifyRefCon
>
> At the moment I am just passing in NULL but I would like to know what it is
> for anyhow.
>
> Thanks,
>
> Matt
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden