mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 07:45:00 +01:00
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:
parent
eea8d8e6c0
commit
a9995c59cc
1 changed files with 0 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue