Re: MusicSequencerUserCallback - calling objective-c method
Re: MusicSequencerUserCallback - calling objective-c method
- Subject: Re: MusicSequencerUserCallback - calling objective-c method
- From: Paul Davis <email@hidden>
- Date: Wed, 8 Dec 2010 16:05:22 -0500
On Wed, Dec 8, 2010 at 3:57 PM, GW Rodriguez <email@hidden> wrote:
> So I was putting together a basic app that needs to use the user event, ergo
> it needs to use the callback function. I would like to have the callback
> function call a obj-c method, but I cant seem to do this. I even tried
> changed the file to .mm and all I get are errors.
> Can someone bestow their experience and knowledge on my as to how to call a
> obj-c method in a c++ function?
write a static C++ function or method, use that as the callback. call
the obj-C method from within it.
be careful about using obj-C in realtime contexts, it can lead to
glitches in the audio stream.
_______________________________________________
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