EnumParameter

Undocumented in source.

Constructors

this
this(int index, string name, const(string[]) possibleValues, int defaultValue)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

getValueString
const(char)[] getValueString(int n)
Undocumented in source. Be warned that the author may not have intended to support it.
normalizedValueFromString
bool normalizedValueFromString(const(char)[] valueString, double result)
Undocumented in source. Be warned that the author may not have intended to support it.
stringFromNormalizedValue
void stringFromNormalizedValue(double normalizedValue, char* buffer, size_t len)
Undocumented in source. Be warned that the author may not have intended to support it.
toStringN
void toStringN(char* buffer, size_t numBytes)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From IntegerParameter

setNormalized
void setNormalized(double hostValue)
Undocumented in source. Be warned that the author may not have intended to support it.
getNormalized
double getNormalized()
Undocumented in source. Be warned that the author may not have intended to support it.
getNormalizedDefault
double getNormalizedDefault()
Undocumented in source. Be warned that the author may not have intended to support it.
toStringN
void toStringN(char* buffer, size_t numBytes)
Undocumented in source. Be warned that the author may not have intended to support it.
stringFromNormalizedValue
void stringFromNormalizedValue(double normalizedValue, char* buffer, size_t len)
Undocumented in source. Be warned that the author may not have intended to support it.
normalizedValueFromString
bool normalizedValueFromString(const(char)[] valueString, double result)
Undocumented in source. Be warned that the author may not have intended to support it.
isDiscrete
bool isDiscrete()
Undocumented in source. Be warned that the author may not have intended to support it.
value
int value()

Gets the current parameter value.

valueAtomic
int valueAtomic()

Same as value but doesn't use locking, and doesn't use ordering. Which make it a better fit for the audio thread.

setFromGUI
void setFromGUI(int value)

Sets the parameter value from the UI thread. If the parameter is outside [min .. max] inclusive, then it is clamped. This is not an error to do so.

setFromGUINormalized
void setFromGUINormalized(double normValue)

Sets the value of the parameter from UI, using a normalized value. Note: If normValue is not inside [0.0 .. 1.0], then it is clamped. This is not an error.

minValue
int minValue()
maxValue
int maxValue()
numValues
int numValues()
defaultValue
int defaultValue()
fromNormalized
int fromNormalized(double normalizedValue)
Undocumented in source. Be warned that the author may not have intended to support it.
toNormalized
double toNormalized(int value)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta