aboutsummaryrefslogtreecommitdiffstats
path: root/src/jack.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/jack.c')
-rw-r--r--src/jack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jack.c b/src/jack.c
index 9b1a6d5..09f8855 100644
--- a/src/jack.c
+++ b/src/jack.c
@@ -269,7 +269,7 @@ jack_process_cb(jack_nframes_t nframes, void* data)
ev->index = p;
ev->protocol = 0;
ev->size = sizeof(float);
- *(float*)ev->body = port->control;
+ *(float*)(ev + 1) = port->control;
if (zix_ring_write(jalv->plugin_events, buf, sizeof(buf)) < sizeof(buf)) {
fprintf(stderr, "Plugin => UI buffer overflow!\n");
}