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

Method FlushCache

libraries/lib-vst3/VST3Wrapper.cpp:298–307  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

296 }
297
298 void FlushCache(EffectSettings& settings)
299 {
300 if(mParametersCache.empty())
301 return;
302
303 auto& vst3settings = GetSettings(settings);
304 for(auto& p : mParametersCache)
305 vst3settings.parameterChanges[p.first] = p.second;
306 mParametersCache.clear();
307 }
308
309 void ResetCache()
310 {

Callers 1

FlushParametersMethod · 0.80

Calls 3

GetSettingsFunction · 0.85
emptyMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected