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

Method set_active

distrho/src/DistrhoPluginVST3.cpp:4531–4540  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4529 }
4530
4531 static v3_result V3_API set_active(void* const self, const v3_bool state)
4532 {
4533 d_debug("dpf_component::set_active => %p %u", self, state);
4534 dpf_component* const component = *static_cast<dpf_component**>(self);
4535
4536 PluginVst3* const vst3 = component->vst3;
4537 DISTRHO_SAFE_ASSERT_RETURN(vst3 != nullptr, V3_NOT_INITIALIZED);
4538
4539 return component->vst3->setActive(state);
4540 }
4541
4542 static v3_result V3_API set_state(void* const self, v3_bstream** const stream)
4543 {

Callers

nothing calls this directly

Calls 2

d_debugFunction · 0.85
setActiveMethod · 0.80

Tested by

no test coverage detected