Browse Source

VST3: Made MIDI CC parameters non-automatable

tags/2021-05-28
Tom Poole 7 years ago
parent
commit
0f752396a5
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

@@ -701,8 +701,8 @@ private:
parameterToMidiController[p].ctrlNumber = i; parameterToMidiController[p].ctrlNumber = i;
parameters.addParameter (new Vst::Parameter (toString ("MIDI CC " + String (c) + "|" + String (i)), parameters.addParameter (new Vst::Parameter (toString ("MIDI CC " + String (c) + "|" + String (i)),
static_cast<Vst::ParamID> (p) + parameterToMidiControllerOffset, 0, 0, 0,
Vst::ParameterInfo::kCanAutomate, Vst::kRootUnitId));
static_cast<Vst::ParamID> (p) + parameterToMidiControllerOffset, 0, 0, 0,
0, Vst::kRootUnitId));
} }
} }
} }


Loading…
Cancel
Save