aboutsummaryrefslogtreecommitdiffhomepage
path: root/midi.c
diff options
context:
space:
mode:
Diffstat (limited to 'midi.c')
-rw-r--r--midi.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/midi.c b/midi.c
index a59ebeb..0d51d38 100644
--- a/midi.c
+++ b/midi.c
@@ -14,6 +14,7 @@ int midi_init(){
.channel = midi_channel,
.handle = midi_set,
.process = midi_handle,
+ .start = midi_start,
.shutdown = midi_shutdown
};
@@ -82,6 +83,10 @@ static int midi_handle(size_t num, int* fd, void** data){
return 1;
}
+static int midi_start(){
+ return 1;
+}
+
static int midi_shutdown(){
size_t n, p;
instance** inst = NULL;