Re: Load/Save Presets does not work
Re: Load/Save Presets does not work
- Subject: Re: Load/Save Presets does not work
- From: Urs Heckmann <email@hidden>
- Date: Mon, 3 Mar 2003 14:11:24 +0100
Hi Raphael,
I have experienced exactly the same problem. That's why I also save my
public parameters in my custom data chunk.
I looked at Save/Restore in AUBase some time ago and have not found the
code that should save public parameters in the "data" key. There's only
the code in AUScopeElement which I havn't traced if it gets called at
all.
Cheers,
;) Urs
Am Montag, 03.03.03, um 13:41 Uhr (Europe/Berlin) schrieb
email@hidden:
Hi,
I know that the SaveState/RestoreState has been longly exposed on that
list, however I have some problems to make it works.
My plugins inherit from AUMIDIEffectBase, I did inherit
SaveState/RestoreState functions.
In those functions I first call the parent function in AUBase, then I
append some private data to the property list.
What is surprising is that AUBase does not read nor write my standard
parameters (those I declare from GetProperty***). When tracing the
code, it appears that there are no parameters whatever scope, element.
AUBase should know about the public parameters isn't it ?
My private data are stored and restored nicely, no problem.
What is more surprising is that it is the only feature that does not
work. Automation and everything else concerning parameters does work
nicely.
What is even more surprising is that the "Pan" example from the SDK
(my "reference" example) do have exactly the same problem, that is
preset loading/saving won't work.
I'm using Logic to test my AU.
I'm sure this is a dumb question, but I would be very glad to
understand why it does not work.
Thanks,
Raf
_______________________________________________
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.
_______________________________________________
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.