aboutsummaryrefslogtreecommitdiffhomepage
path: root/midi.h
diff options
context:
space:
mode:
Diffstat (limited to 'midi.h')
-rw-r--r--midi.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/midi.h b/midi.h
index c83345b..7a13f7c 100644
--- a/midi.h
+++ b/midi.h
@@ -9,3 +9,9 @@ static int midi_set(size_t num, channel* c, channel_value* v);
static int midi_handle(size_t num, int* fd, void** data);
static int midi_start();
static int midi_shutdown();
+
+typedef struct /*_midi_instance_data*/ {
+ int port;
+ char* read;
+ char* write;
+} midi_instance_data;