MCPcopy Create free account
hub / github.com/DISTRHO/DPF / setParameterValue

Function setParameterValue

examples/Meters/ExamplePluginMeters.cpp:185–191  ·  view source on GitHub ↗

Change a parameter value. */

Source from the content-addressed store, hash-verified

183 Change a parameter value.
184 */
185 void setParameterValue(uint32_t index, float value) override
186 {
187 // this is only called for input paramters, and we only have one of those.
188 if (index != 0) return;
189
190 fColor = value;
191 }
192
193 /**
194 Change an internal state.

Callers 1

onMouseFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected