From 74b7dd42de90f288d9baa84f88eec89d0209788f Mon Sep 17 00:00:00 2001 From: sletz Date: Wed, 2 Dec 2009 13:30:51 +0000 Subject: [PATCH] Devin Anderson jackmp-fix-ffado-midi-2.diff patch. git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3837 0c269be4-1314-0410-8aa9-9f06e86f4224 --- common/JackPhysicalMidiOutput.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common/JackPhysicalMidiOutput.cpp b/common/JackPhysicalMidiOutput.cpp index e435f25b..8f41d443 100644 --- a/common/JackPhysicalMidiOutput.cpp +++ b/common/JackPhysicalMidiOutput.cpp @@ -257,8 +257,7 @@ JackPhysicalMidiOutput::Process(jack_nframes_t frames) // Since we have no time left, we need to put all remaining midi // events in their appropriate buffers, and send them next period. - for (current_midi_event++; current_midi_event < midi_events; - current_midi_event++) { + for (; current_midi_event < midi_events; current_midi_event++) { midi_event = &(port_buffer->events[current_midi_event]); midi_event_buffer = midi_event->GetData(port_buffer); midi_event_size = midi_event->size;