Index: programs/elven/main.cpp =================================================================== RCS file: /sources/ll-plugins/ll-plugins/programs/elven/main.cpp,v retrieving revision 1.17 diff -u -r1.17 main.cpp --- programs/elven/main.cpp 8 Feb 2007 16:14:48 -0000 1.17 +++ programs/elven/main.cpp 9 Apr 2007 13:15:32 -0000 @@ -144,7 +144,7 @@ LV2_MIDI* input_buf = static_cast(port.buffer); LV2_MIDIState in = { static_cast(port.buffer), nframes, 0 }; - jack_midi_clear_buffer(output_buf, nframes); + jack_midi_clear_buffer(output_buf); // iterate over all MIDI events and write them to the JACK port for (size_t i = 0; i < input_buf->event_count; ++i) { @@ -159,7 +159,7 @@ // write JACK MIDI event jack_midi_event_write(output_buf, jack_nframes_t(timestamp), reinterpret_cast(data), - data_size, nframes); + data_size); } } @@ -176,7 +176,7 @@ jack_midi_event_t input_event; jack_nframes_t input_event_index = 0; jack_nframes_t input_event_count = - jack_midi_get_event_count(input_buf, nframes); + jack_midi_get_event_count(input_buf); jack_nframes_t timestamp; LV2_MIDI* output_buf = static_cast(port.buffer); output_buf->event_count = 0; @@ -186,7 +186,7 @@ for (unsigned int i = 0; i < input_event_count; ++i) { // retrieve JACK MIDI event - jack_midi_event_get(&input_event, input_buf, i, nframes); + jack_midi_event_get(&input_event, input_buf, i); DBG3("Received MIDI event from JACK on port "<