mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
VST3: First add Midi controller changes and then add other midi events to ensure that all-notes off events occur before any note-on event with the same sampleOffset
This commit is contained in:
parent
1406de4de3
commit
d95edfd770
1 changed files with 3 additions and 3 deletions
|
|
@ -2038,6 +2038,9 @@ public:
|
|||
|
||||
midiBuffer.clear();
|
||||
|
||||
if (data.inputParameterChanges != nullptr)
|
||||
processParameterChanges (*data.inputParameterChanges);
|
||||
|
||||
#if JucePlugin_WantsMidiInput
|
||||
if (data.inputEvents != nullptr)
|
||||
MidiEventList::toMidiBuffer (midiBuffer, *data.inputEvents);
|
||||
|
|
@ -2237,9 +2240,6 @@ private:
|
|||
|
||||
pluginInstance->setNonRealtime (data.processMode == Vst::kOffline);
|
||||
|
||||
if (data.inputParameterChanges != nullptr)
|
||||
processParameterChanges (*data.inputParameterChanges);
|
||||
|
||||
#if JUCE_DEBUG && ! JucePlugin_ProducesMidiOutput
|
||||
const int numMidiEventsComingIn = midiBuffer.getNumEvents();
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue