coremidi: do not clear port buffer for every call to parse_events()

This was limiting the data flow to 1 MIDI event per process cycle.
This commit is contained in:
Paul Davis 2016-01-10 17:46:19 -05:00
parent eea8d8e6c0
commit a9995c59cc

View file

@ -2140,8 +2140,6 @@ CoreMidiPort::parse_events (const uint64_t time, const uint8_t *data, const size
{
CoreMidiBuffer* mbuf = static_cast<CoreMidiBuffer*>(get_buffer(0));
mbuf->clear();
if (_event._pending) {
if (queue_event (mbuf, _event._time, _parser_buffer, _event._size)) {
return;