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:
2
engine.c
2
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.
|
// The actual recording should be done via an action.
|
||||||
// For now, we just dispatch the trigger and let the reducer handle it.
|
// 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};
|
uint8_t out_msg[3] = {0x90 | channel, note, out_velocity};
|
||||||
jack_midi_event_write(midi_out_buf, midi_event.time, out_msg, 3);
|
jack_midi_event_write(midi_out_buf, midi_event.time, out_msg, 3);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user