aboutsummaryrefslogtreecommitdiffhomepage
path: root/midi.h
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2017-06-04 02:30:17 +0200
committercbdev <cb@cbcdn.com>2017-06-04 02:30:17 +0200
commit5d0ee3b301ca012c81adbf57042f7054ee45808c (patch)
tree05e2d5bf18541e513bbed191b2e91107fb312793 /midi.h
parentb7e009a98698c4ed81b16cbc274a3b47793c1bab (diff)
downloadmidimonster-5d0ee3b301ca012c81adbf57042f7054ee45808c.tar.gz
midimonster-5d0ee3b301ca012c81adbf57042f7054ee45808c.tar.bz2
midimonster-5d0ee3b301ca012c81adbf57042f7054ee45808c.zip
Add readme, flesh out backends
Diffstat (limited to 'midi.h')
-rw-r--r--midi.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/midi.h b/midi.h
index eef2413..abad971 100644
--- a/midi.h
+++ b/midi.h
@@ -1,2 +1,10 @@
#include "midimonster.h"
-int midi_start();
+
+int midi_init();
+static int midi_configure(char* option, char* value);
+static int midi_configure_instance(instance* instance, char* option, char* value);
+static instance* midi_instance();
+static channel* midi_channel(instance* instance, char* spec);
+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_shutdown();