From 0614d7fa9d63159e1fd1d53cb752a4d5ef0a4987 Mon Sep 17 00:00:00 2001 From: falkTX Date: Sun, 7 Aug 2011 13:51:03 +0100 Subject: [PATCH] Another MIDI fix (now output) --- juce/source/src/audio/plugin_client/LV2/juce_LV2_Wrapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/juce/source/src/audio/plugin_client/LV2/juce_LV2_Wrapper.cpp b/juce/source/src/audio/plugin_client/LV2/juce_LV2_Wrapper.cpp index d90420a..6539c77 100644 --- a/juce/source/src/audio/plugin_client/LV2/juce_LV2_Wrapper.cpp +++ b/juce/source/src/audio/plugin_client/LV2/juce_LV2_Wrapper.cpp @@ -642,7 +642,7 @@ public: } } - if (! midiEvents.isEmpty()) + if (! midiEvents.isEmpty() && port_mout != nullptr) { #if JucePlugin_ProducesMidiOutput const int numEvents = midiEvents.getNumEvents(); -- 2.11.4.GIT