Re: AUEffectBase and UI communication
Re: AUEffectBase and UI communication
- Subject: Re: AUEffectBase and UI communication
- From: Robert Bielik <email@hidden>
- Date: Fri, 05 Nov 2010 18:37:08 +0100
George Tourtellot skrev 2010-11-05 18:32:
Hello,
I have created an AudioUnit with a CocoaView, and want to be able to communicate information from the class that inherits from AUEffectBase back to a controller class for the UI.
For example, I would want to extract some analysis information from the audio and then display that information back in the Cocoa GUI.
I know I could use a global structure for the data communication, but there are obvious reasons why I'd rather not do that. What is the preferred approach?
I'd pick some kind of lock-free FIFO mechanism. It's not inherent to AU with Cocoa, it's just a proper way to do it. Just google for it.
Rgrds,
/Rob
_______________________________________________
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