| 359 | } |
| 360 | |
| 361 | bool 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 |
nothing calls this directly
no test coverage detected