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

Function setParameterValue

examples/CairoUI/CairoExamplePlugin.cpp:165–168  ·  view source on GitHub ↗

Change a parameter value.@n The host may call this function from any context, including realtime processing.@n When a parameter is marked as automatable, you must ensure no non-realtime operations are performed. @note This function will only be called for parameter inputs. */

Source from the content-addressed store, hash-verified

163 @note This function will only be called for parameter inputs.
164 */
165 void setParameterValue(const uint32_t index, const float value) override
166 {
167 fParameters[index] = value;
168 }
169
170 /**
171 Run/process function for plugins without MIDI input.

Callers 3

demoWidgetClickedMethod · 0.70
imageKnobValueChangedMethod · 0.70
imageSwitchClickedMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected