blob: 7a13f7cad4b789d6ab2a5f3122bf4643129fae02 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#include "midimonster.h"
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_start();
static int midi_shutdown();
typedef struct /*_midi_instance_data*/ {
int port;
char* read;
char* write;
} midi_instance_data;
|