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

Method clearMap

plugins/Cardinal/src/HostParameters-Map.cpp:293–300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291 // stuff called from panel side
292
293 void clearMap(const uint8_t id)
294 {
295 learningId = UINT8_MAX;
296
297 mappings[id].hostParamId = UINT8_MAX;
298 pcontext->engine->updateParamHandle(&mappings[id].paramHandle, -1, 0, true);
299 updateMapLen();
300 }
301
302 void learnParam(const uint8_t id, const int64_t moduleId, const int paramId)
303 {

Callers 1

onButtonMethod · 0.45

Calls 1

updateParamHandleMethod · 0.80

Tested by

no test coverage detected