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

Method get_state

distrho/src/DistrhoPluginVST3.cpp:4553–4562  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4551 }
4552
4553 static v3_result V3_API get_state(void* const self, v3_bstream** const stream)
4554 {
4555 d_debug("dpf_component::get_state => %p %p", self, stream);
4556 dpf_component* const component = *static_cast<dpf_component**>(self);
4557
4558 PluginVst3* const vst3 = component->vst3;
4559 DISTRHO_SAFE_ASSERT_RETURN(vst3 != nullptr, V3_NOT_INITIALIZED);
4560
4561 return vst3->getState(stream);
4562 }
4563};
4564
4565// --------------------------------------------------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 2

d_debugFunction · 0.85
getStateMethod · 0.45

Tested by

no test coverage detected