Add the base for a debug log

This commit is contained in:
Robbert van der Helm
2020-03-06 15:31:31 +01:00
parent 46b08530ae
commit 1d2c3d4d75
6 changed files with 130 additions and 2 deletions
+3 -2
View File
@@ -74,9 +74,10 @@ HostBridge::HostBridge(audioMasterCallback host_callback)
host_vst_process_replacing(io_context),
vst_host_aeffect(io_context),
host_callback_function(host_callback),
logger(Logger::create_from_environment()),
vst_host(find_wine_vst_host(),
// The Wine VST host needs to know which plugin to load and
// which Unix domain socket to connect to
// The Wine VST host needs to know which plugin to load
// and which Unix domain socket to connect to
find_vst_plugin(),
socket_endpoint.path(),
bp::env = set_wineprefix()),
+2
View File
@@ -24,6 +24,7 @@
#include <thread>
#include "../common/communication.h"
#include "../common/logging.h"
/**
* This handles the communication between the Linux native VST plugin and the
@@ -112,6 +113,7 @@ class HostBridge {
* The callback function passed by the host to the VST plugin instance.
*/
audioMasterCallback host_callback_function;
Logger logger;
/**
* The Wine process hosting the Windows VST plugin.
*/