aboutsummaryrefslogtreecommitdiffstats
path: root/src/jack.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/jack.c')
-rw-r--r--src/jack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jack.c b/src/jack.c
index 047662d..59f10d1 100644
--- a/src/jack.c
+++ b/src/jack.c
@@ -94,8 +94,8 @@ jack_process_cb(jack_nframes_t nframes, void* data)
(rolling != jalv->rolling || pos.frame != jalv->position ||
(has_bbt && pos.beats_per_minute != jalv->bpm));
- uint8_t pos_buf[256];
- LV2_Atom* lv2_pos = (LV2_Atom*)pos_buf;
+ uint8_t pos_buf[256] = {0};
+ LV2_Atom* lv2_pos = (LV2_Atom*)pos_buf;
if (xport_changed) {
// Build an LV2 position object to report change to plugin
lv2_atom_forge_set_buffer(&jalv->forge, pos_buf, sizeof(pos_buf));