From d2febcfa2b76d26944407f9fa2bd4548515b05f2 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Tue, 10 Mar 2020 15:53:11 +0100 Subject: [PATCH] Print the socket endpoint during startup --- src/plugin/host-bridge.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/plugin/host-bridge.cpp b/src/plugin/host-bridge.cpp index 64c0fb42..68993f38 100644 --- a/src/plugin/host-bridge.cpp +++ b/src/plugin/host-bridge.cpp @@ -93,6 +93,7 @@ HostBridge::HostBridge(audioMasterCallback host_callback) bp::std_err = wine_stderr) { logger.log("Initializing yabridge using '" + vst_host_path.string() + "'"); logger.log("plugin: '" + vst_plugin_path.string() + "'"); + logger.log("socket: '" + socket_endpoint.path() + "'"); logger.log("wineprefix: '" + find_wineprefix().value_or("").string() + "'"); @@ -142,7 +143,9 @@ class DispatchDataConverter : DefaultDataConverter { DispatchDataConverter(std::vector& chunk_data) : chunk(chunk_data) {} - std::optional read(const int opcode, const intptr_t value, const void* data) { + std::optional read(const int opcode, + const intptr_t value, + const void* data) { // There are some events that need specific structs that we can't simply // serialize as a string because they might contain null bytes // TODO: More of these structs