feat: auto-reconnect midi
Clang Lint CI / lint-no-video (push) Successful in 59s
Clang Build CI / run-no-video (push) Successful in 59s
Clang Build CI / run-video (push) Successful in 59s
Clang Build CI / build-release (push) Successful in 1m31s
Clang Lint CI / lint-video (push) Successful in 1m7s

This commit is contained in:
2026-05-14 15:28:38 +02:00
parent adc520bc8b
commit 28b87d316a
8 changed files with 100 additions and 48 deletions
+2 -1
View File
@@ -51,6 +51,7 @@ typedef struct Parameters {
bool video_reconnect;
bool load_state;
bool save_state;
bool midi_reconnect;
bool trace_midi;
bool trace_fps;
} Parameters;
@@ -219,7 +220,7 @@ typedef struct VideoBackgroundReadArgs {
// midi.c
typedef struct MidiDevice {
bool error;
_Atomic bool connected;
char name[STR_LEN];
snd_rawmidi_t *input;
snd_rawmidi_t *output;