aboutsummaryrefslogtreecommitdiffhomepage
path: root/midi.h
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2017-06-05 20:53:02 +0200
committercbdev <cb@cbcdn.com>2017-06-05 20:53:02 +0200
commitddb185aaa2a5ef6a70c130675826c33f90057591 (patch)
tree4a984a603d5e8c712609b10502cce3b4b5baa0bf /midi.h
parent40e123db7713b188162cd94d935f7a395405567a (diff)
downloadmidimonster-ddb185aaa2a5ef6a70c130675826c33f90057591.tar.gz
midimonster-ddb185aaa2a5ef6a70c130675826c33f90057591.tar.bz2
midimonster-ddb185aaa2a5ef6a70c130675826c33f90057591.zip
MIDI backend start procedure
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;