Re: AUPresets in Logic
Re: AUPresets in Logic
- Subject: Re: AUPresets in Logic
- From: Marc Poirier <email@hidden>
- Date: Thu, 3 Oct 2002 22:27:35 +0200 (CEST)
>
The MatrixReverb makes sure the preset number if >= 0 is valid - if not it
>
returns an invalid property error.
>
>
The Reverb also Sets the default FactoryPreset in its constructor calling
>
SetAFactoryPreset method in AUBase with the default preset number...
>
>
If you use our Reverb with these calls does it crash for you?
Nope, works like a charm.
Logic 1, Marc 0
>
You need a MutableArray because you're going to be adding contents to it...
Yes, mutable was the key, thanks! I guess I can't create and load all in
one go with CFArrayCreate like I thought I could (maybe it only works with
arrays of CFType items).
Thanks for posting the matrix reverb presets code; I think it might be
worth adding something like that into an example in a future AU SDK
revision...
>
You certainly don't want to be releasing an element of the array and the
>
CFSTR macro is kind of neat, as it interns the string directly.
Agreed, I use it when possible, but unfortunately it only works with
compile-time string constants...
Thanks and thanks again,
Marc
_______________________________________________
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.