• 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: IsIndexedParam 'alternative'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IsIndexedParam 'alternative'


  • Subject: Re: IsIndexedParam 'alternative'
  • From: Stefan Gretscher <email@hidden>
  • Date: Tue, 8 Nov 2005 14:20:55 +0100

Hi Andrew,

Logic for example checks the unit contained in the AudioUnitParameterInfo - if it's kAudioUnitParameterUnit_Indexed, .._Boolean, .._MIDINoteNumber or .._MIDIController, then it's treated as a discrete parameter, all others are treated as continuous.

Best,
Stefan

Am 07.11.2005 um 01:02 schrieb Andrew Kimpton:

Is there an alternative way to distinguish an Indexed Parameter from a 'continuous/floating point' parameter other than using IsIndexedParam() ?

The problem is that IsIndexedParam() simply checks that the number of indexed parameters is non-zero, however in my case I have a parameter which is created with no actually 'indexed' values, rather they are added later during use (think something like a menu of presets).

I can workaround this with a 'null' placeholder item which I subsequently remove - but I'm hoping there's something more elegant.

_______________________________________________ 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
References: 
 >IsIndexedParam 'alternative' (From: Andrew Kimpton <email@hidden>)

  • Prev by Date: Re: Channels and frames (correction)
  • Next by Date: Re: Audio driver outside kernel
  • Previous by thread: IsIndexedParam 'alternative'
  • Next by thread: Updating a View component about indexed parameter states
  • Index(es):
    • Date
    • Thread