Browse Source

Only report one midi in & out bus in VST3 wrapper

tags/2021-05-28
hogliux 9 years ago
parent
commit
f5391cd9f9
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp

+ 2
- 2
modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp View File

@@ -1502,7 +1502,7 @@ public:
info.flags = Vst::BusInfo::kDefaultActive;
#if JucePlugin_WantsMidiInput
if (dir == Vst::kInput)
if (dir == Vst::kInput && index == 0)
{
info.mediaType = Vst::kEvent;
info.direction = dir;
@@ -1514,7 +1514,7 @@ public:
#endif
#if JucePlugin_ProducesMidiOutput
if (dir == Vst::kOutput)
if (dir == Vst::kOutput && index == 0)
{
info.mediaType = Vst::kEvent;
info.direction = dir;


Loading…
Cancel
Save