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