Audacity 3.2.0
|
Functions | |
std::pair< float, float > | InputControlPortBounds (const LADSPA_PortRangeHint &hint, double sampleRate) |
float | ClampInputControlValue (const LADSPA_PortRangeHint &hint, float val, float lower, float upper) |
float | InputControlPortDefaultValue (const LADSPA_PortRangeHint &hint, double sampleRate) |
float anonymous_namespace{LadspaEffectBase.cpp}::ClampInputControlValue | ( | const LADSPA_PortRangeHint & | hint, |
float | val, | ||
float | lower, | ||
float | upper | ||
) |
Definition at line 173 of file LadspaEffectBase.cpp.
References _LADSPA_PortRangeHint::HintDescriptor, LADSPA_IS_HINT_BOUNDED_ABOVE, and LADSPA_IS_HINT_BOUNDED_BELOW.
Referenced by InputControlPortDefaultValue().
std::pair< float, float > anonymous_namespace{LadspaEffectBase.cpp}::InputControlPortBounds | ( | const LADSPA_PortRangeHint & | hint, |
double | sampleRate | ||
) |
Definition at line 166 of file LadspaEffectBase.cpp.
References _LADSPA_PortRangeHint::HintDescriptor, LADSPA_IS_HINT_SAMPLE_RATE, _LADSPA_PortRangeHint::LowerBound, anonymous_namespace{ClipSegmentTest.cpp}::sampleRate, and _LADSPA_PortRangeHint::UpperBound.
Referenced by InputControlPortDefaultValue().
float anonymous_namespace{LadspaEffectBase.cpp}::InputControlPortDefaultValue | ( | const LADSPA_PortRangeHint & | hint, |
double | sampleRate | ||
) |
Definition at line 182 of file LadspaEffectBase.cpp.
References ClampInputControlValue(), _LADSPA_PortRangeHint::HintDescriptor, InputControlPortBounds(), LADSPA_HINT_DEFAULT_0, LADSPA_HINT_DEFAULT_1, LADSPA_HINT_DEFAULT_100, LADSPA_HINT_DEFAULT_440, LADSPA_HINT_DEFAULT_HIGH, LADSPA_HINT_DEFAULT_LOW, LADSPA_HINT_DEFAULT_MASK, LADSPA_HINT_DEFAULT_MAXIMUM, LADSPA_HINT_DEFAULT_MIDDLE, LADSPA_HINT_DEFAULT_MINIMUM, LADSPA_HINT_DEFAULT_NONE, LADSPA_IS_HINT_LOGARITHMIC, and anonymous_namespace{ClipSegmentTest.cpp}::sampleRate.
Referenced by LadspaEffectBase::InitializeControls().