Re: Closing and opening custom carbon AU Views
Re: Closing and opening custom carbon AU Views
- Subject: Re: Closing and opening custom carbon AU Views
- From: Stefan Gretscher <email@hidden>
- Date: Fri, 22 Aug 2008 18:43:12 +0200
Hi Paul,
Am 22.08.2008 um 10:22 schrieb Paul Tapper:
I have a carbon based AU with a carbon custom view based on
AUCarbonViewBase.
How do I tell when the view is opened or closed in Logic (or some
other host)? I mean when the user closes the AU's interface window,
but still has the AU active. I'm sure there must be a "CloseView"
function somewhere or something, but I can't seem to find it.
In AU world, the view is strictly separated from the actual Audio Unit
- the latter doesn't even know about its view(s). All communication
between the AU and the view is achieved by changing properties and
parameters (view->AU) and by listening to change notification for
those (AU->view).
The host creates a Carbon view for an AU by opening the view component
with the component IDs specified by the AU, and disposes it by closing
the view component again. There's no "CloseView" function in the AU,
instead the host has a direct reference to the view which it uses to
close it.
- Stefan
------------------------------------
Stefan Gretscher
plug-in development & 3rd party developer support
phone: (+49)-4101-495-586 (Central European Time)
AU developer support: email@hidden
TDM developer support: email@hidden
Apple GmbH
Geschäftsführung: Georges Guyon de Chemilly
Sitz der Gesellschaft: München
Amtsgericht München, HRB 66158
_______________________________________________
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