| 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 | // -------------------------------------------------------------------------------------------------------------------- |