overdrivenpotato / rust-vst2

VST 2.4 API implementation in rust. Create plugins or hosts.
MIT License
221 stars 23 forks source link

Implement Plugin::get_editor() for PluginInstance #33

Open Boscop opened 7 years ago

Boscop commented 7 years ago

If someone is interested in doing this, that'd be great (I'm quite busy atm). It only requires creating a PluginInstanceEditor struct and storing it in the PluginInstance struct, it can be filled with values gotten from sending the editor OpCodes to the instance, EditorGetRect etc. Basically look at for which OpCodes interfaces::dispatch() calls plugin.get_editor() and "invert" that direction to construct a PluginInstanceEditor.