Min and max values for an indexed parameter.
Min and max values for an indexed parameter.
- Subject: Min and max values for an indexed parameter.
- From: Philippe Wicker <email@hidden>
- Date: Sat, 31 Jan 2004 09:52:34 +0100
Hi all,
I'm digging into the part of the SampleEffectUnit code which deals
with preset and parameters management. In the
SampleEffectUnit::GetParameterInfo method, the min and max values of
the indexed parameter are set to 4 and 6. This indexed parameter may
have 3 values. So 4 an 6 values actually determine 3 discrete steps. My
question is why does the values starts from 4 and not 0 (or 1 because
we deal with a popup entry here)? My understanding until now is that
the value of an indexed parameter is the index into the menu that
displays the value strings. It appears I was wrong :(( What is the
rationale behind the possibility of choosing arbitrary min values?
Thanks,
Philippe Wicker
email@hidden
_______________________________________________
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.