diff options
author | David Robillard <d@drobilla.net> | 2008-02-05 23:06:40 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-02-05 23:06:40 +0000 |
commit | dab3cc86e17e863b7603ac434741c4e83fe7dbbd (patch) | |
tree | 60cecc11b0aaeb3b73587c2f73ee42e18cdf394e /hosts | |
parent | 988dbbc9170009520a01139a4e8b7e467b34dbc1 (diff) | |
download | lilv-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
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/lv2_jack_host.c | 2 |
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); |