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 b7e7040..3be7ac1 100644
--- a/hosts/lv2_jack_host.c
+++ b/hosts/lv2_jack_host.c
@@ -324,7 +324,7 @@ jack_process_cb(jack_nframes_t nframes, void* data)
} else if (host->ports[p].type == EVENT) {
- lv2_event_buffer_reset(host->ports[p].ev_buffer, LV2_EVENT_AUDIO_STAMP);
+ lv2_event_buffer_reset(host->ports[p].ev_buffer, LV2_EVENT_AUDIO_STAMP, (uint8_t *)(host->ports[p].ev_buffer + 1));
if (host->ports[p].direction == INPUT) {
void* jack_buffer = jack_port_get_buffer(host->ports[p].jack_port, nframes);