From 70b107fc10007b7dd965bc19e3399bd415581f28 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 1 Feb 2008 23:15:35 +0000 Subject: Pad LV2 event buffers. git-svn-id: http://svn.drobilla.net/lad/slv2@1124 a436a847-0d15-0410-975c-d299462d15a1 --- hosts/lv2_jack_host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hosts/lv2_jack_host.c') 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); } } } -- cgit v1.2.1