Re: Two questions
Re: Two questions
- Subject: Re: Two questions
- From: Marc Poirier <email@hidden>
- Date: Thu, 14 Aug 2003 18:04:36 -0500 (CDT)
>
Also, I have a question about GetParameterValueStrings. This call would
>
appear to be there for the purpose of providing human-readable values for
>
generic float parameters, but I can't find any documentation on it.
/Developer/Documentation/CoreAudio/AudioUnits/Topics/au_properties.html#kAudioUnitProperty_ParameterValueStrings
But as you'll see, it's not for float, or at least float in the sense of
continuous, parameters. It's for parameters that have descrete choices,
with unit type kAudioUnitParameterUnit_Indexed. What you are looking for
is not here yet but will come with the next update, as Bill mentioned a
couple days ago, with a new kAudioUnitProperty_ParameterValueName
property.
>
How is it used, and do I have to set any special flags on the parameters
>
for my reported values ("-6dB") to be made visible in the host (instead
>
of "0.500")
Of course, you could also make the parameter's unit type be
kAudioUnitParameterUnit_Decibels and provide the parameter's value range
in the actual dB range (or something close enough, since probably won't
want to make the minimum literally -infinity). But maybe that doesn't
work well for your particular case, I don't know...
Marc
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.
References: | |
| >Two questions (From: "Angus F. Hewlett" <email@hidden>) |