Logo Search packages:      
Sourcecode: ardour version File versions  Download package

void CAAUParameter::SetValue ( AUParameterListenerRef  inListener,
void *  inObject,
Float32  inValue 
) const

SetValue

Definition at line 288 of file CAAUParameter.cpp.

{
    // clip inValue as: maxValue >= inValue >= minValue before setting
    Float32 valueToSet = inValue;
    if (valueToSet > mParamInfo.maxValue)
        valueToSet = mParamInfo.maxValue;
    if (valueToSet < mParamInfo.minValue)
        valueToSet = mParamInfo.minValue;
    
      AUParameterSet(inListener, inObject, this, valueToSet, 0);
}


Generated by  Doxygen 1.6.0   Back to index