summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-02-01 20:53:58 +0000
committerDavid Robillard <d@drobilla.net>2008-02-01 20:53:58 +0000
commit062d51cac12cf2a1ec53f236b54ae4ea450bc602 (patch)
tree48282ea76f7e5adc94fc7976db89d429796a291c
parenta06c7eeef68cfe87589f557570f812da4391de96 (diff)
downloadlilv-062d51cac12cf2a1ec53f236b54ae4ea450bc602.tar.gz
lilv-062d51cac12cf2a1ec53f236b54ae4ea450bc602.tar.bz2
lilv-062d51cac12cf2a1ec53f236b54ae4ea450bc602.zip
Fix LV2 event stuff (header and lv2_jack_host).
git-svn-id: http://svn.drobilla.net/lad/slv2@1123 a436a847-0d15-0410-975c-d299462d15a1
-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 6b5c61c..b2c9994 100644
--- a/hosts/lv2_jack_host.c
+++ b/hosts/lv2_jack_host.c
@@ -371,7 +371,7 @@ jack_process_cb(jack_nframes_t nframes, void* data)
#if defined(JACK_MIDI_NEEDS_NFRAMES)
jack_midi_event_write(jack_buffer,
- (jack_nframes_t)ev->frames, data, size, nframes);
+ (jack_nframes_t)ev->frames, data, ev->size, nframes);
#else
jack_midi_event_write(jack_buffer,
(jack_nframes_t)ev->frames, data, ev->size);