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

Method ValidateUI

src/effects/VST3/VST3Editor.cpp:139–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139bool VST3Editor::ValidateUI()
140{
141 mAccess.ModifySettings([&](EffectSettings &settings){
142 if (mDuration != nullptr)
143 settings.extra.SetDuration(mDuration->GetValue());
144 mWrapper.FlushParameters(settings);
145 mWrapper.StoreSettings(settings);
146 return nullptr;
147 });
148
149 return true;
150}
151
152void VST3Editor::OnClose()
153{

Callers

nothing calls this directly

Calls 3

FlushParametersMethod · 0.80
GetValueMethod · 0.45
StoreSettingsMethod · 0.45

Tested by

no test coverage detected