| 575 | } |
| 576 | |
| 577 | bool VSTEditor::ValidateUI() |
| 578 | { |
| 579 | mAccess.ModifySettings([this](EffectSettings& settings) |
| 580 | { |
| 581 | if (mType == EffectTypeGenerate) |
| 582 | settings.extra.SetDuration(mDuration->GetValue()); |
| 583 | |
| 584 | FetchSettingsFromInstance(settings); |
| 585 | |
| 586 | return GetInstance().MakeMessage(); |
| 587 | }); |
| 588 | |
| 589 | return true; |
| 590 | } |
| 591 | |
| 592 | void VSTEditor::OnClose() |
| 593 | { |
nothing calls this directly
no test coverage detected