RE: MusicSequencerUserCallback - calling objective-c method
RE: MusicSequencerUserCallback - calling objective-c method
- Subject: RE: MusicSequencerUserCallback - calling objective-c method
- From: GW Rodriguez <email@hidden>
- Date: Wed, 8 Dec 2010 19:21:11 -0500
Simone,
This has been very helpful. Two questions though, you suggest this line of code:
MusicSequenceSetUserCallback (sequence, MyCallback, myObj);
For the second argument I have to cast it to MusicSequenceUserCallback right? Also for the third argument when I put myObj (but this is name of the instance of the class I created) I get a fail on the complier that says it was not declared in this scope. Since the set user callback function is within the @implementation section and the callback declaration is outside of the @implementation section, how do I pass the *void inClientData?
Thanks,
--
GW Rodriguez
_______________________________________________
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