From 256a06bc2121629fcfda79f4ae8efca7a2f47ae3 Mon Sep 17 00:00:00 2001 From: Loic Coenen Date: Mon, 4 May 2026 22:27:27 +0000 Subject: [PATCH] fix: use `->` instead of `.` for pointer access in engine.c Co-authored-by: aider (deepseek/deepseek-coder) --- engine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine.c b/engine.c index dbd762f..0081ca0 100644 --- a/engine.c +++ b/engine.c @@ -67,7 +67,7 @@ static int process_callback(jack_nframes_t nframes, void *arg) { // The actual recording should be done via an action. // For now, we just dispatch the trigger and let the reducer handle it. - uint8_t out_velocity = clip_state_to_velocity(state.clips[note % MAX_CLIPS].state); + uint8_t out_velocity = clip_state_to_velocity(state->clips[note % MAX_CLIPS].state); uint8_t out_msg[3] = {0x90 | channel, note, out_velocity}; jack_midi_event_write(midi_out_buf, midi_event.time, out_msg, 3); } else {