diff options
author | David Robillard <d@drobilla.net> | 2016-10-05 05:20:42 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-10-05 05:21:40 -0400 |
commit | 866a90be1360627eba3a06340fba42b453d161e1 (patch) | |
tree | 5e0869083a9add1688869182727927d96b83d762 | |
parent | e321392fee998b1b87c27eaf833eaa95d1c0bafa (diff) | |
download | jalv-866a90be1360627eba3a06340fba42b453d161e1.tar.gz jalv-866a90be1360627eba3a06340fba42b453d161e1.tar.bz2 jalv-866a90be1360627eba3a06340fba42b453d161e1.zip |
Fix time stamp of UI events delivered to plugin
-rw-r--r-- | src/jalv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -579,7 +579,7 @@ jalv_apply_ui_events(Jalv* jalv, uint32_t nframes) } else if (ev.protocol == jalv->urids.atom_eventTransfer) { LV2_Evbuf_Iterator e = lv2_evbuf_end(port->evbuf); const LV2_Atom* const atom = (const LV2_Atom*)body; - lv2_evbuf_write(&e, nframes - 1, 0, atom->type, atom->size, + lv2_evbuf_write(&e, nframes, 0, atom->type, atom->size, (const uint8_t*)LV2_ATOM_BODY_CONST(atom)); } else { fprintf(stderr, "error: Unknown control change protocol %d\n", |