| 344 | // ============================================================================ |
| 345 | |
| 346 | OptionalMessage 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 | |
| 361 | bool LV2EffectBase::SaveParameters( |
| 362 | const RegistryPath &group, const EffectSettings &settings) const |
nothing calls this directly
no test coverage detected