summaryrefslogtreecommitdiff
path: root/drumgizmo
diff options
context:
space:
mode:
authorVolker Fischer <corrados@users.noreply.github.com>2022-09-28 22:33:43 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2023-02-17 14:12:12 +0100
commit6c9b69b0471fe72c8793d671f267ead3634ef3ac (patch)
tree68bca639b624ad4ff554ae2f014517e1de9f3b74 /drumgizmo
parent6f8895d89e983f186e162abf9225cf6c7b8f1016 (diff)
jack midi input port should not clear the buffer
Diffstat (limited to 'drumgizmo')
-rw-r--r--drumgizmo/input/jackmidi.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/drumgizmo/input/jackmidi.cc b/drumgizmo/input/jackmidi.cc
index 445678b..7081bf1 100644
--- a/drumgizmo/input/jackmidi.cc
+++ b/drumgizmo/input/jackmidi.cc
@@ -122,6 +122,6 @@ void JackMidiInputEngine::process(jack_nframes_t num_frames)
jack_midi_event_get(&event, buffer, i);
processNote(event.buffer, event.size, event.time, events);
}
- jack_midi_clear_buffer(buffer);
+
pos += num_frames;
}