Skip to content

Commit

Permalink
Fix JACK MIDI dropping events when two events have the same time stam…
Browse files Browse the repository at this point in the history
…p. (#5994)
  • Loading branch information
softrabbit authored Apr 24, 2021
1 parent ca05944 commit 89fc6c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/midi/MidiJack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ void MidiJack::JackMidiRead(jack_nframes_t nframes)
{
for(i=0; i<nframes; i++)
{
if((in_event.time == i) && (event_index < event_count))
while((in_event.time == i) && (event_index < event_count))
{
// lmms is setup to parse bytes coming from a device
// parse it byte by byte as it expects
Expand Down

0 comments on commit 89fc6c9

Please sign in to comment.