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

Method LoadParameters

libraries/lib-ladspa/LadspaEffectBase.cpp:407–426  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

405}
406
407OptionalMessage LadspaEffectBase::LoadParameters(
408 const RegistryPath & group, EffectSettings &settings) const
409{
410 wxString parms;
411 if (!GetConfig(*this, PluginSettings::Private, group, wxT("Parameters"),
412 parms, wxEmptyString))
413 {
414 return {};
415 }
416
417 CommandParameters eap;
418 if (!eap.SetParameters(parms))
419 {
420 return {};
421 }
422
423 if (!LoadSettings(eap, settings))
424 return {};
425 return { nullptr };
426}
427
428bool LadspaEffectBase::SaveParameters(
429 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