fix: MidiBackgroundListenArgs bad typedef

This commit is contained in:
2026-05-16 18:46:34 +02:00
parent efb13bb9ea
commit ba44237661
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ void midi_close(MidiDevice *device) {
}
void *midi_background_listen(void *args) {
MidiBackgroundReadArgs *process_args = (MidiBackgroundReadArgs *)args;
MidiBackgroundListenArgs *process_args = (MidiBackgroundListenArgs *)args;
MidiDevice *device = process_args->device;
Context *context = process_args->context;
+1 -1
View File
@@ -232,7 +232,7 @@ typedef struct MidiBackgroundListenArgs {
MidiDevice *device;
Context *context;
void (*event_callback)(unsigned char code, unsigned char value);
} MidiBackgroundReadArgs;
} MidiBackgroundListenArgs;
// state.c