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{LadspaInstance.cpp}::ClampInputControlValue | ( | const LADSPA_PortRangeHint & | hint, |
float | val, | ||
float | lower, | ||
float | upper | ||
) |
Definition at line 61 of file LadspaInstance.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{LadspaInstance.cpp}::InputControlPortBounds | ( | const LADSPA_PortRangeHint & | hint, |
double | sampleRate | ||
) |
Definition at line 54 of file LadspaInstance.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{LadspaInstance.cpp}::InputControlPortDefaultValue | ( | const LADSPA_PortRangeHint & | hint, |
double | sampleRate | ||
) |
Definition at line 70 of file LadspaInstance.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.