Audacity 3.2.0
Functions
anonymous_namespace{LV2Preferences.cpp} Namespace Reference

Functions

template<typename T >
bool GetSetting (const EffectDefinitionInterface &effect, const wchar_t *path, T &var, const T &defaultValue)
 
template<typename T >
bool SetSetting (const EffectDefinitionInterface &effect, const wchar_t *path, const T &value)
 

Function Documentation

◆ GetSetting()

template<typename T >
bool anonymous_namespace{LV2Preferences.cpp}::GetSetting ( const EffectDefinitionInterface effect,
const wchar_t *  path,
T &  var,
const T &  defaultValue 
)

Definition at line 34 of file LV2Preferences.cpp.

36{
37 return GetConfig(effect, PluginSettings::Shared, SettingsStr, path,
38 var, defaultValue);
39}
static constexpr auto SettingsStr
bool GetConfig(const EffectDefinitionInterface &ident, ConfigurationType type, const RegistryPath &group, const RegistryPath &key, Value &var, const Value &defval)

References PluginSettings::GetConfig(), SettingsStr, and PluginSettings::Shared.

Referenced by LV2Preferences::GetBufferSize(), LV2Preferences::GetUseGUI(), and LV2Preferences::GetUseLatency().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetSetting()

template<typename T >
bool anonymous_namespace{LV2Preferences.cpp}::SetSetting ( const EffectDefinitionInterface effect,
const wchar_t *  path,
const T &  value 
)

Definition at line 42 of file LV2Preferences.cpp.

44{
45 return SetConfig(effect, PluginSettings::Shared, SettingsStr, path,
46 value);
47}
bool SetConfig(const EffectDefinitionInterface &ident, ConfigurationType type, const RegistryPath &group, const RegistryPath &key, const Value &value)

References PluginSettings::SetConfig(), SettingsStr, and PluginSettings::Shared.

Referenced by LV2Preferences::SetBufferSize(), LV2Preferences::SetUseGUI(), and LV2Preferences::SetUseLatency().

Here is the call graph for this function:
Here is the caller graph for this function: