Re: Components
Re: Components
- Subject: Re: Components
- From: "Angus F. Hewlett" <email@hidden>
- Date: Fri, 14 Feb 2003 09:32:35 +0000
You can use a custom property, query it to pass your AudioUnit's "this"
pointer back to the view, do a bit of casting and hey presto :) - direct
object access between view and AU.
(obviously you need to put in place a notification system so that AU and
view know when each other are destroyed...)
Regards,
Angus.
At 12:19 AM 2/14/2003 -0800, Glenn Olander wrote:
>
I wasn't able to find anything in the archives either. Can you recall
>
any
>
keywords from those discussions that would guide my search?
>
>
Basically, I just want to trigger an action on the plugin in response
>
to some GUI
>
event. For example: perform a MIDI learn, or undo an operation, or
>
clone a voice,
>
or copy/paste a preset, etc.
>
>
I could manage a lookup table myself that maps an AudioUnit to a
>
component
>
instance, but all plugins will be doing this, so I'm guessing there's
>
some
>
support for this already?
>
>
- Glenn
>
>
>
>
> This topic has been gone into a few times (we really should have an FAQ
>
> on this!) - take a look through the list archives..
>
>
>
> There was also a mention of a wiki page for the CA stuff - maybe that
>
> contains some information?
>
>
>
> Sorry that isn't much help - can't find the emails about this...
>
_______________________________________________
>
coreaudio-api mailing list | email@hidden
>
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
>
Do not post admin requests to the list. They will be ignored.
>
=======================================================
Angus F. Hewlett, Technical Director
FXpansion Audio UK Ltd -
http://www.fxpansion.com
=======================================================
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.