MCPcopy Create free account
hub / github.com/DISTRHO/DPF / setStateFromUI

Function setStateFromUI

distrho/src/DistrhoPluginVST2.cpp:1273–1284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1271 void setStateFromUI(const char* const key, const char* const value) override
1272 #else
1273 void setStateFromUI(const char* const key, const char* const value)
1274 #endif
1275 {
1276 fPlugin.setState(key, value);
1277
1278 // check if we want to save this key
1279 if (fPlugin.wantStateKey(key))
1280 {
1281 const String dkey(key);
1282 fStateMap[dkey] = value;
1283 }
1284 }
1285 #endif
1286};
1287

Callers 1

vst_dispatcherFunction · 0.85

Calls 1

setStateMethod · 0.45

Tested by

no test coverage detected