MCPcopy Create free account
hub / github.com/VCVRack/Rack / getParam

Method getParam

src/engine/ParamQuantity.cpp:13–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11
12
13engine::Param* ParamQuantity::getParam() {
14 if (!module)
15 return NULL;
16 if (!(0 <= paramId && paramId < (int) module->params.size()))
17 return NULL;
18 return &module->params[paramId];
19}
20
21
22void ParamQuantity::setValue(float value) {

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected