Re: kAudioUnitProperty_ParameterList
Re: kAudioUnitProperty_ParameterList
- Subject: Re: kAudioUnitProperty_ParameterList
- From: Bjorn Roche <email@hidden>
- Date: Wed, 10 May 2006 21:05:22 -0400 (EDT)
On Wed, 10 May 2006, William Stewart wrote:
On 10/05/2006, at 3:55 PM, Bjorn Roche wrote:
Hay all,
when I query the parameters in an AudioUnit with
kAudioUnitProperty_ParameterList, am I guaranteed to always get the same
parameters in the same order, provided I have set the sample format and so
on the same way each time?
No
(I am trying to manager persistence of automation data and I need to know
to what extent I need to verify that the Audio Unit gave me what I expected
in the order I expected it. Order is important.)
Order is irrelevant.
Parameter's are keyed by an ID (and the ID's may NOT be contiguous) and the
developer's AU is responsible for managing the persistence and applicability
of these IDs.
Good to know they might come out of order. Will I always get the same set
of parameters?
As a side note: Is there any significance to the order? Right now, I am
using the order to for the order I display to the user, but I plan to use
the clumpID for that, since that seems to be the intent of clumpID.
Just a side note - if you are saving the state of an AU, then you need to use
the ClassInfo property - this can be used to both get and set a state (what
we generically call aupresets). In the past some apps have sought to just
save param values to achieve this, and that won't work as not all of an AU's
state is expressed in its parameters.
I am only starting to deal with persistence, so I'm sure I'll be using
that info soon!
Thanks!
bjorn
-------------
Bjorn Roche
Check out my CD Mastering Software
for Mac OS X : http://www.xowave.com
_______________________________________________
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