From dab3cc86e17e863b7603ac434741c4e83fe7dbbd Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 5 Feb 2008 23:06:40 +0000 Subject: Fix LV2 event stuff, courtesy kfoltman. git-svn-id: http://svn.drobilla.net/lad/slv2@1132 a436a847-0d15-0410-975c-d299462d15a1 --- hosts/lv2_jack_host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.1