diff options
author | cbdev <cb@cbcdn.com> | 2018-03-02 03:20:11 +0100 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2018-03-02 03:20:11 +0100 |
commit | 2dfc564edc0c89c4a8de7e384806aae5d593426d (patch) | |
tree | b1636ec14d3f35ed88b3f079e0c3d168f77b17b9 /backends/midi.h | |
parent | be5df1c4e639ca6a7cd70a3122039a1de4588e28 (diff) | |
download | midimonster-2dfc564edc0c89c4a8de7e384806aae5d593426d.tar.gz midimonster-2dfc564edc0c89c4a8de7e384806aae5d593426d.tar.bz2 midimonster-2dfc564edc0c89c4a8de7e384806aae5d593426d.zip |
Move backend implementations to subdirectory
Diffstat (limited to 'backends/midi.h')
-rw-r--r-- | backends/midi.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/backends/midi.h b/backends/midi.h new file mode 100644 index 0000000..556706f --- /dev/null +++ b/backends/midi.h @@ -0,0 +1,17 @@ +#include "midimonster.h" + +int 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(instance* inst, size_t num, channel** c, channel_value* v); +static int midi_handle(size_t num, managed_fd* fds); +static int midi_start(); +static int midi_shutdown(); + +typedef struct /*_midi_instance_data*/ { + int port; + char* read; + char* write; +} midi_instance_data; |