summaryrefslogtreecommitdiffstats
path: root/hosts/lv2_jack_host.c
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/lv2_jack_host.c')
-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);