diff options
author | cbdev <cb@cbcdn.com> | 2017-06-04 18:13:29 +0200 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2017-06-04 18:13:29 +0200 |
commit | 11e9dec049e64989c5f3656415d00c6c69851e8e (patch) | |
tree | f087aa41ead18a8b09657fd400bd8b20df80b13f /midi.c | |
parent | bae15293ddc859a1ea426f15e7fa476f71ece020 (diff) | |
download | midimonster-11e9dec049e64989c5f3656415d00c6c69851e8e.tar.gz midimonster-11e9dec049e64989c5f3656415d00c6c69851e8e.tar.bz2 midimonster-11e9dec049e64989c5f3656415d00c6c69851e8e.zip |
Move instance allocator to backend object, introduce backend start function
Diffstat (limited to 'midi.c')
-rw-r--r-- | midi.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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; |