Re: kAudioUnitProperty_ParameterList
Re: kAudioUnitProperty_ParameterList
- Subject: Re: kAudioUnitProperty_ParameterList
- From: William Stewart <email@hidden>
- Date: Wed, 10 May 2006 17:34:51 -0700
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.
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.
Bill
thanks for the help,
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
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________
__
_______________________________________________
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