Skip to content

Commit 89fc6c9

Browse files
authored
Fix JACK MIDI dropping events when two events have the same time stamp. (#5994)
1 parent ca05944 commit 89fc6c9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/core/midi/MidiJack.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ void MidiJack::JackMidiRead(jack_nframes_t nframes)
188188
{
189189
for(i=0; i<nframes; i++)
190190
{
191-
if((in_event.time == i) && (event_index < event_count))
191+
while((in_event.time == i) && (event_index < event_count))
192192
{
193193
// lmms is setup to parse bytes coming from a device
194194
// parse it byte by byte as it expects

0 commit comments

Comments
 (0)