aboutsummaryrefslogtreecommitdiffhomepage
path: root/backends/midi.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/midi.h')
-rw-r--r--backends/midi.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/backends/midi.h b/backends/midi.h
index 556706f..5ec17ea 100644
--- a/backends/midi.h
+++ b/backends/midi.h
@@ -15,3 +15,13 @@ typedef struct /*_midi_instance_data*/ {
char* read;
char* write;
} midi_instance_data;
+
+typedef union {
+ struct {
+ uint8_t pad[5];
+ uint8_t type;
+ uint8_t channel;
+ uint8_t control;
+ } fields;
+ uint64_t label;
+} midi_channel_ident; \ No newline at end of file