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

Function get_parameter_value_for_string

distrho/src/DistrhoPluginVST3.cpp:3811–3820  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3809 }
3810
3811 static v3_result V3_API get_parameter_value_for_string(void* self, v3_param_id index, int16_t* input, double* output)
3812 {
3813 d_debug("dpf_edit_controller::get_parameter_value_for_string => %p %u %p %p", self, index, input, output);
3814 dpf_edit_controller* const controller = *static_cast<dpf_edit_controller**>(self);
3815
3816 PluginVst3* const vst3 = controller->vst3;
3817 DISTRHO_SAFE_ASSERT_RETURN(vst3 != nullptr, V3_NOT_INITIALIZED);
3818
3819 return vst3->getParameterValueForString(index, input, output);
3820 }
3821
3822 static double V3_API normalised_parameter_to_plain(void* self, v3_param_id index, double normalized)
3823 {

Callers

nothing calls this directly

Calls 2

d_debugFunction · 0.85

Tested by

no test coverage detected