| 1137 | |
| 1138 | |
| 1139 | void 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 | |
| 1151 | ParamHandle* Engine::getParamHandle(int64_t moduleId, int paramId) { |
nothing calls this directly
no test coverage detected