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