Use simple numerical IDs for plugins in groups

We'll be using a similar approach to identify threads for event
handlers.
This commit is contained in:
Robbert van der Helm
2020-10-26 11:51:13 +01:00
parent 74c3cab046
commit d82f8463d9
6 changed files with 38 additions and 31 deletions
+2 -1
View File
@@ -67,7 +67,8 @@ Vst2Bridge& get_bridge_instance(const AEffect* plugin) {
Vst2Bridge::Vst2Bridge(boost::asio::io_context& main_context,
std::string plugin_dll_path,
std::string endpoint_base_dir)
: io_context(main_context),
: vst_plugin_path(plugin_dll_path),
io_context(main_context),
plugin_handle(LoadLibrary(plugin_dll_path.c_str()), FreeLibrary),
sockets(io_context, endpoint_base_dir, false) {
// Got to love these C APIs