Fix JACK MIDI dropping events when two events have the same time stamp. (#5994)

This commit is contained in:
Raine M. Ekman
2021-04-24 21:32:38 +03:00
committed by GitHub
parent ca059446c3
commit 89fc6c960b

View File

@@ -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