Re: View >> AU communication
Re: View >> AU communication
- Subject: Re: View >> AU communication
- From: tahome izwah <email@hidden>
- Date: Sun, 30 Aug 2009 21:09:04 +0200
I still claim that passing a reference is safe as long as you do it in
-setAU, which is where view and DSP part of the AU are associated. I
also recall seeing this being used by the filter example in Apple's
developer AUs.
--th
2009/8/30 Sophia Poirier [dfx] <email@hidden>:
> You use the GetProperty/SetProperty system. Define your own custom
> properties and handle passing the actual data itself in buffers, rather than
> references to data (as the previous example of passing your effect unit's
> "this" pointer was incorrectly demonstrating). If it's a property that can
> change and your view (or anything else) needs to be aware of the changes,
> then you use PropertyChanged() from your effect AU.
>
> If you search the archives, you'll find more info (this has been covered
> many times in detail on the list). Also I've made a relatively simple open
> source AU that demonstrates some of this stuff if you're interested in an
> example:
> http://destroyfx.org/extras/#rmsbuddy
>
> - Sophia
>
>
_______________________________________________
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