Re: MIDIClientCreate Arguments
Re: MIDIClientCreate Arguments
- Subject: Re: MIDIClientCreate Arguments
- From: Matthew Hubble <email@hidden>
- Date: Mon, 28 Feb 2011 09:47:39 +0000
So what does the function do with this pointer? What are some possible uses?
Thanks,
Matt
On 2/28/11 9:09 AM, tahome izwah wrote:
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