diff --git a/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp b/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp index fef22f66cb..097b3e77ec 100644 --- a/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp +++ b/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp @@ -57,7 +57,9 @@ namespace Vst2 #endif #ifndef JUCE_VST3_EMULATE_MIDI_CC_WITH_PARAMETERS - #define JUCE_VST3_EMULATE_MIDI_CC_WITH_PARAMETERS 1 + #if JucePlugin_WantsMidiInput + #define JUCE_VST3_EMULATE_MIDI_CC_WITH_PARAMETERS 1 + #endif #endif #if JUCE_VST3_CAN_REPLACE_VST2