Browse Source

Fix last commit, sorry

tags/2018-04-16
falkTX 7 years ago
parent
commit
5ca92d5286
1 changed files with 5 additions and 4 deletions
  1. +5
    -4
      libs/juce/source/modules/juce_audio_plugin_client/LV2/juce_LV2_Wrapper.cpp

+ 5
- 4
libs/juce/source/modules/juce_audio_plugin_client/LV2/juce_LV2_Wrapper.cpp View File

@@ -1609,6 +1609,7 @@ public:
}
#endif

#if JucePlugin_ProducesMidiOutput
if (portMidiOut != nullptr)
{
const uint32_t capacity = portMidiOut->atom.size;
@@ -1620,7 +1621,6 @@ public:

if (! midiEvents.isEmpty())
{
#if JucePlugin_ProducesMidiOutput
const uint8* midiEventData;
int midiEventSize, midiEventPosition;
MidiBuffer::Iterator i (midiEvents);
@@ -1645,11 +1645,12 @@ public:
offset += size;
portMidiOut->atom.size += size;
}
#endif
midiEvents.clear();
}
}
else if (! midiEvents.isEmpty())
} else
#endif
if (! midiEvents.isEmpty())
{
midiEvents.clear();
}


Loading…
Cancel
Save