From 6c9b69b0471fe72c8793d671f267ead3634ef3ac Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Wed, 28 Sep 2022 22:33:43 +0200 Subject: jack midi input port should not clear the buffer --- drumgizmo/input/jackmidi.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drumgizmo') 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; } -- cgit v1.2.3