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

Method removeParamHandle_NoLock

src/override/Engine.cpp:1139–1148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1137
1138
1139void Engine::removeParamHandle_NoLock(ParamHandle* paramHandle) {
1140 // Check that the ParamHandle is already added
1141 auto it = internal->paramHandles.find(paramHandle);
1142 DISTRHO_SAFE_ASSERT_RETURN(it != internal->paramHandles.end(),);
1143
1144 // Remove it
1145 paramHandle->module = NULL;
1146 internal->paramHandles.erase(it);
1147 Engine_refreshParamHandleCache(this);
1148}
1149
1150
1151ParamHandle* Engine::getParamHandle(int64_t moduleId, int paramId) {

Callers

nothing calls this directly

Calls 3

eraseMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected