MCPcopy Create free account
hub / github.com/DISTRHO/Cardinal / clearMap

Method clearMap

plugins/Cardinal/src/HostMIDI-Map.cpp:298–311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

296 // stuff called from panel side, must lock engine
297
298 void clearMap(int id)
299 {
300 nextLearningId = -1;
301 learningId = -1;
302 learnedCc = false;
303 learnedParam = false;
304
305 ccs[id] = -1;
306 values[id] = -1;
307 pcontext->engine->updateParamHandle(&paramHandles[id], -1, 0, true);
308 valueFilters[id].reset();
309 refreshParamHandleText(id);
310 updateMapLen();
311 }
312
313 void enableLearn(const int id)
314 {

Callers 1

onButtonMethod · 0.45

Calls 2

updateParamHandleMethod · 0.80
resetMethod · 0.45

Tested by

no test coverage detected