From e40f90085cb5e1d1b79cec63180f321d014472c7 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Wed, 6 May 2020 01:22:07 +0200 Subject: [PATCH] Revert accidental removal of audioMaster logging Got removed in af060054d3d3d9e5ba4da5879d2818224f7c35be. --- src/plugin/host-bridge.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugin/host-bridge.cpp b/src/plugin/host-bridge.cpp index 40dda0e5..b16300da 100644 --- a/src/plugin/host-bridge.cpp +++ b/src/plugin/host-bridge.cpp @@ -256,7 +256,8 @@ HostBridge::HostBridge(audioMasterCallback host_callback) // TODO: Think of a nicer way to structure this and the similar // handler in `PluginBridge::handle_dispatch_midi_events` receive_event( - vst_host_callback, std::nullopt, [&](Event& event) { + vst_host_callback, std::pair(logger, false), + [&](Event& event) { // MIDI events sent from the plugin back to the host are // a special case here. They have to sent during the // `processReplacing()` function or else the host will