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

Method SaveParameters

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

Source from the content-addressed store, hash-verified

359}
360
361bool LV2EffectBase::SaveParameters(
362 const RegistryPath &group, const EffectSettings &settings) const
363{
364 // PRL: This function just dumps the several control port values to the
365 // config files. Should it be reimplemented with
366 // lilv_state_new_from_instance to capture -- I don't know what -- other
367 // important state?
368
369 CommandParameters eap;
370 if (!SaveSettings(settings, eap))
371 return false;
372
373 wxString parms;
374 if (!eap.GetParameters(parms))
375 return false;
376
377 return SetConfig(*this,
378 PluginSettings::Private, group, wxT("Parameters"), parms);
379}
380#endif

Callers

nothing calls this directly

Calls 2

SetConfigFunction · 0.85
GetParametersMethod · 0.45

Tested by

no test coverage detected