A simple VST host toolset.
(note: this library is to be updated as I work on my DAW)
The idea here is to provide a swiss army knife for VST hosting.
create_vsthostto opens a VST given the path to the DLL/lib- The
nfd-selectfeature enablesMethod::FileSelectDialogwhich will open the NFD to fetch a path. - This returns the
PluginInstanceandEditor - note: The
PluginInstancecan be sent across threads, but not Editor.
- The
open_windowprovides a winit window given the editor which will attach itself to the window.- This returns the
WindowandEventLoop - The use of
EventLoopwill determine how you want the VST to run- In a DAW setting I would recommend running GUI on the main thread, and calling
run_returnon that thread while sending yourPluginInstanceto the audio processing thread
- In a DAW setting I would recommend running GUI on the main thread, and calling
- This returns the
- Clean up the code
- Add support for bridging (32bit<->64bit)
- Possibly expand on windowing?