summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-02-05 23:06:40 +0000
committerDavid Robillard <d@drobilla.net>2008-02-05 23:06:40 +0000
commitdab3cc86e17e863b7603ac434741c4e83fe7dbbd (patch)
tree60cecc11b0aaeb3b73587c2f73ee42e18cdf394e
parent988dbbc9170009520a01139a4e8b7e467b34dbc1 (diff)
downloadlilv-dab3cc86e17e863b7603ac434741c4e83fe7dbbd.tar.gz
lilv-dab3cc86e17e863b7603ac434741c4e83fe7dbbd.tar.bz2
lilv-dab3cc86e17e863b7603ac434741c4e83fe7dbbd.zip
Fix LV2 event stuff, courtesy kfoltman.
git-svn-id: http://svn.drobilla.net/lad/slv2@1132 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 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);