summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hosts/lv2_jack_host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hosts/lv2_jack_host.c b/hosts/lv2_jack_host.c
index b2c9994..b7e7040 100644
--- a/hosts/lv2_jack_host.c
+++ b/hosts/lv2_jack_host.c
@@ -339,7 +339,7 @@ jack_process_cb(jack_nframes_t nframes, void* data)
for (jack_nframes_t e=0; e < event_count; ++e) {
jack_midi_event_get(&ev, jack_buffer, e);
- lv2_event_append(&iter, ev.time, 0, MIDI_EVENT_ID, ev.size, ev.buffer);
+ lv2_event_write(&iter, ev.time, 0, MIDI_EVENT_ID, ev.size, ev.buffer);
}
}
}