• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: kAudioUnitProperty_ParameterList
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: kAudioUnitProperty_ParameterList
      • From: William Stewart <email@hidden>
References: 
 >kAudioUnitProperty_ParameterList (From: Bjorn Roche <email@hidden>)
 >Re: kAudioUnitProperty_ParameterList (From: William Stewart <email@hidden>)

  • Prev by Date: Re: 'AudioUnitScheduleParametersProc' does not name a type
  • Next by Date: Re: AAC/MP3 to raw audio
  • Previous by thread: Re: kAudioUnitProperty_ParameterList
  • Next by thread: Re: kAudioUnitProperty_ParameterList
  • Index(es):
    • Date
    • Thread