fix: use persistent MIDI client and fix save_ring race condition

Co-authored-by: aider (deepseek/deepseek-reasoner) <aider@aider.chat>
This commit is contained in:
Loic Coenen
2026-05-11 22:14:33 +00:00
parent 7deea9266b
commit 346c15d1c3
3 changed files with 59 additions and 43 deletions

View File

@@ -28,7 +28,7 @@ struct channel_t {
jack_port_t *audio_in;
jack_port_t *audio_out;
RingBuf *save_ring;
_Atomic RingBuf *save_ring;
};
/* Globals declared in looper.c */