diff --git a/src/plugin/host-bridge.cpp b/src/plugin/host-bridge.cpp index 8d20ca2c..2ab759b0 100644 --- a/src/plugin/host-bridge.cpp +++ b/src/plugin/host-bridge.cpp @@ -29,6 +29,9 @@ #include #endif +// Generated inside of build directory +#include + #include "../common/communication.h" #include "../common/events.h" @@ -119,7 +122,9 @@ HostBridge::HostBridge(audioMasterCallback host_callback) bp::start_dir = vst_plugin_path.parent_path()) #endif { - logger.log("Initializing yabridge using '" + vst_host_path.string() + "'"); + logger.log("Initializing yabridge version " + + std::string(yabridge_git_version)); + logger.log("host: '" + vst_host_path.string() + "'"); logger.log("plugin: '" + vst_plugin_path.string() + "'"); logger.log("socket: '" + socket_endpoint.path() + "'"); logger.log("wineprefix: '" + diff --git a/src/wine-host/plugin-bridge.cpp b/src/wine-host/plugin-bridge.cpp index a5e3e0a1..9e2f840d 100644 --- a/src/wine-host/plugin-bridge.cpp +++ b/src/wine-host/plugin-bridge.cpp @@ -17,7 +17,6 @@ #include "plugin-bridge.h" #include -#include #include "../common/communication.h" #include "../common/events.h" @@ -136,9 +135,6 @@ PluginBridge::PluginBridge(std::string plugin_dll_path, process_replacing_handler = Win32Thread(handle_process_replacing_proxy, this); - - std::cout << "Finished initializing '" << plugin_dll_path << "'" - << std::endl; } void PluginBridge::handle_dispatch() { diff --git a/src/wine-host/vst-host.cpp b/src/wine-host/vst-host.cpp index f782fa6d..ccb18b21 100644 --- a/src/wine-host/vst-host.cpp +++ b/src/wine-host/vst-host.cpp @@ -16,6 +16,9 @@ #include +// Generated inside of build directory +#include + #include "plugin-bridge.h" int main(int argc, char* argv[]) { @@ -32,8 +35,12 @@ int main(int argc, char* argv[]) { const std::string plugin_dll_path(argv[1]); const std::string socket_endpoint_path(argv[2]); + std::cerr << "Initializing yabridge host version " << yabridge_git_version + << std::endl; try { PluginBridge bridge(plugin_dll_path, socket_endpoint_path); + std::cerr << "Finished initializing '" << plugin_dll_path << "'" + << std::endl; // Blocks the main thread until the plugin shuts down bridge.handle_dispatch();