fix: use -> instead of . for pointer access in engine.c

Co-authored-by: aider (deepseek/deepseek-coder) <aider@aider.chat>
This commit is contained in:
Loic Coenen
2026-05-04 22:27:27 +00:00
parent d4ba1589ff
commit 256a06bc21

View File

@@ -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 {