Re: Frustrated w. generic AUs not returning to settings
Re: Frustrated w. generic AUs not returning to settings
- Subject: Re: Frustrated w. generic AUs not returning to settings
- From: Chris Johnson <email@hidden>
- Date: Wed, 5 Sep 2007 22:44:07 -0400
On Sep 5, 2007, at 3:36 PM, William Stewart wrote:
The AUBase class provides a SaveState and RestoreState method -
this is in turn called by the host when it saves/restores settings
with the _ClassInfo property.
When Logic is saving a document it saves the state of the AU using
this property, which turns around and calls these methods. By
default the AUBase implementation will use the parameter values
stored in the Scope/Element objects and save/restore them. So if
you are using the parameter methods we recommend (see the example
implementations in the Example code) then the state should be saved
and restored for you. If you've overidden the parameter mechanisms
yourself, then you'll also have to do the extra work of over-riding
the save/restore mechanism to save and restore these values. You
can also debug this with the AULab application - the UI window has
a save/restore preset menu (and you can save documents in AULab
that will use this mechanism as well)
Thank you- this is more information than I've ever got, about the
problem.
If I'm NOT overriding the parameter mechanisms- say, for a plugin
that's doing basic sound manipulation and barely touching the example
code- where do I go to try and debug the example implementations?
It looks like the GENERIC (no GUI either carbon or cocoa) plugins'
parameter methods aren't working for all my users. They work for me
every time- I'm on Logic Express, not Logic Pro.
I've got people (OK, one guy) writing to me saying they're switching
to Mac and Logic just to use my plugins- I'd be happy to work with
the Logic guys to resolve this or change anything I need to, but I've
gotta do something. Now I'm wondering if I can override the
mechanisms with exactly the same code that's supposed to already be
there, and if that would help.
*g* anyone I can talk to at Apple about getting linkage for that
'switching to Mac to use airwindows plugins, which (for the time
being!) are AU-only' thing?
Chris Johnson
airwindows
_______________________________________________
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