![]() |
Audacity 3.2.0
|
Functions | |
bool | LoadUseLatency (const EffectDefinitionInterface &effect) |
bool | SaveUseLatency (const EffectDefinitionInterface &effect, bool value) |
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{LadspaEffect.cpp}::ClampInputControlValue | ( | const LADSPA_PortRangeHint & | hint, |
float | val, | ||
float | lower, | ||
float | upper | ||
) |
Definition at line 807 of file LadspaEffect.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{LadspaEffect.cpp}::InputControlPortBounds | ( | const LADSPA_PortRangeHint & | hint, |
double | sampleRate | ||
) |
Definition at line 800 of file LadspaEffect.cpp.
References _LADSPA_PortRangeHint::HintDescriptor, LADSPA_IS_HINT_SAMPLE_RATE, _LADSPA_PortRangeHint::LowerBound, and _LADSPA_PortRangeHint::UpperBound.
Referenced by InputControlPortDefaultValue().
float anonymous_namespace{LadspaEffect.cpp}::InputControlPortDefaultValue | ( | const LADSPA_PortRangeHint & | hint, |
double | sampleRate | ||
) |
Definition at line 816 of file LadspaEffect.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, and LADSPA_IS_HINT_LOGARITHMIC.
Referenced by LadspaEffect::InitializeControls().
bool anonymous_namespace{LadspaEffect.cpp}::LoadUseLatency | ( | const EffectDefinitionInterface & | effect | ) |
Definition at line 501 of file LadspaEffect.cpp.
References PluginSettings::GetConfig(), OptionsKey, PluginSettings::Shared, and UseLatencyKey.
bool anonymous_namespace{LadspaEffect.cpp}::SaveUseLatency | ( | const EffectDefinitionInterface & | effect, |
bool | value | ||
) |
Definition at line 509 of file LadspaEffect.cpp.
References OptionsKey, PluginSettings::SetConfig(), PluginSettings::Shared, and UseLatencyKey.
Referenced by LadspaEffectOptionsDialog::OnOk().