diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-01-10 17:46:19 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-01-10 17:46:36 -0500 |
commit | a9995c59cca997c147ee412b93509fc6ca232d90 (patch) | |
tree | f60fca755344e499492a69c230bfb5cffc939e66 /libs/backends/coreaudio | |
parent | eea8d8e6c0c36e210aeac156af36e19c14ef8f18 (diff) |
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.
Diffstat (limited to 'libs/backends/coreaudio')
-rw-r--r-- | libs/backends/coreaudio/coreaudio_backend.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libs/backends/coreaudio/coreaudio_backend.cc b/libs/backends/coreaudio/coreaudio_backend.cc index c0053a9940..ce4231ca2b 100644 --- a/libs/backends/coreaudio/coreaudio_backend.cc +++ b/libs/backends/coreaudio/coreaudio_backend.cc @@ -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; |