MCPcopy Create free account
hub / github.com/audacity/audacity / LoadParameters

Method LoadParameters

libraries/lib-lv2/LV2EffectBase.cpp:346–359  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

344// ============================================================================
345
346OptionalMessage LV2EffectBase::LoadParameters(
347 const RegistryPath &group, EffectSettings &settings) const
348{
349 wxString parms;
350 if (!GetConfig(*this,
351 PluginSettings::Private, group, wxT("Parameters"), parms, wxEmptyString))
352 return {};
353 CommandParameters eap;
354 if (!eap.SetParameters(parms))
355 return {};
356 if (!LoadSettings(eap, settings))
357 return {};
358 return { nullptr };
359}
360
361bool LV2EffectBase::SaveParameters(
362 const RegistryPath &group, const EffectSettings &settings) const

Callers

nothing calls this directly

Calls 2

GetConfigFunction · 0.85
SetParametersMethod · 0.45

Tested by

no test coverage detected