diff options
author | David Robillard <d@drobilla.net> | 2008-02-01 23:15:35 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-02-01 23:15:35 +0000 |
commit | 70b107fc10007b7dd965bc19e3399bd415581f28 (patch) | |
tree | 12e996a81c7dbeb650ec21e6f83a94ec4e39e64f /hosts | |
parent | 062d51cac12cf2a1ec53f236b54ae4ea450bc602 (diff) | |
download | lilv-70b107fc10007b7dd965bc19e3399bd415581f28.tar.gz lilv-70b107fc10007b7dd965bc19e3399bd415581f28.tar.bz2 lilv-70b107fc10007b7dd965bc19e3399bd415581f28.zip |
Pad LV2 event buffers.
git-svn-id: http://svn.drobilla.net/lad/slv2@1124 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/lv2_jack_host.c | 2 |
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); } } } |