From b2ccfed2e6b196f8e64985529410d16a49a1c3e7 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Mon, 18 Jan 2021 16:00:45 +0100 Subject: [PATCH] Add a note for a potential fix for REAPER resizing --- src/plugin/bridges/vst2.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/plugin/bridges/vst2.cpp b/src/plugin/bridges/vst2.cpp index 7b3615dd..8b540593 100644 --- a/src/plugin/bridges/vst2.cpp +++ b/src/plugin/bridges/vst2.cpp @@ -81,6 +81,10 @@ Vst2PluginBridge::Vst2PluginBridge(audioMasterCallback host_callback) // them. Because of this we'll temporarily save any MIDI events // we receive here, and then we'll actually send them to the // host at the end of the `process_replacing()` function. + // TODO: We might be able to make editor resizing work in REAPER + // by calling `audioMasterSizeWindow()` from within + // `effEditIdle()`. Something similar was required for + // VST3 plugins in REAPER. if (event.opcode == audioMasterProcessEvents) { std::lock_guard lock(incoming_midi_events_mutex);