Move the wrapper around the dispatch function

This commit is contained in:
Robbert van der Helm
2020-03-18 23:51:53 +01:00
parent ede14ece3b
commit 168568ed51
2 changed files with 46 additions and 28 deletions
+11
View File
@@ -68,6 +68,17 @@ class PluginBridge {
VstTimeInfo time_info;
private:
/**
* A wrapper around `plugin->dispatcher` that handles the opening and
* closing of GUIs.
*/
intptr_t dispatch_wrapper(AEffect* plugin,
int opcode,
int index,
intptr_t value,
void* data,
float option);
/**
* The shared library handle of the VST plugin. I sadly could not get
* Boost.DLL to work here, so we'll just load the VST plugisn by hand.