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 15:26:55 +0100
Am Montag, 03.03.03, um 14:44 Uhr (Europe/Berlin) schrieb
email@hidden:
First, thanks Urs for the quick reply. I'm (relatively) happy to see
that I'm not the only one.
I have experienced exactly the same problem. That's why I also save
my public parameters in my custom data chunk.
I was thinking of it. I would be glad to know if it could interfere in
other hosts (if it is a Logic bug).
It's not a Logic bug AFAIK. My workaround does a good job in every host
I tested with. It shouldn't be a problem.
Don't forget to call SetParameter() for each parameter to get the stuff
set / GUI notified.
I have sample code in my CAUGuiSDK at www.u-he.com/audiounits/
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.
It is not. All loops is Save/Restore are empty, because there are no
parameters whatever scope, element.
So where do that bug come from ?
Any one at apple ? is that normal ? is there an obvious thing we did
not understand here ?
I really don't exactly understand what's going on in AUBase's
Save/RestoreState 8-)) Too many type conversions, endian swapping,
strange data structures (hdr...) and what have you...
... I can happily live with my much simpler approach...
;) Urs
_______________________________________________
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.