Re: IsIndexedParam 'alternative'
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