fix: MidiBackgroundListenArgs bad typedef
This commit is contained in:
+1
-1
@@ -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
@@ -232,7 +232,7 @@ typedef struct MidiBackgroundListenArgs {
|
||||
MidiDevice *device;
|
||||
Context *context;
|
||||
void (*event_callback)(unsigned char code, unsigned char value);
|
||||
} MidiBackgroundReadArgs;
|
||||
} MidiBackgroundListenArgs;
|
||||
|
||||
// state.c
|
||||
|
||||
|
||||
Reference in New Issue
Block a user