diff options
author | cbdev <cb@cbcdn.com> | 2017-06-21 21:15:04 +0200 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2017-06-21 21:15:04 +0200 |
commit | 66c59fd7ec79338a47c68077674350ee2c74f326 (patch) | |
tree | 8f911aba1d7f8ed041c5ce22cb755396b3c5e6b3 /loopback.h | |
parent | 45c2a69122b9141f84d3f8064f41d5f6160d9ca2 (diff) | |
download | midimonster-66c59fd7ec79338a47c68077674350ee2c74f326.tar.gz midimonster-66c59fd7ec79338a47c68077674350ee2c74f326.tar.bz2 midimonster-66c59fd7ec79338a47c68077674350ee2c74f326.zip |
Implement loopback backend
Diffstat (limited to 'loopback.h')
-rw-r--r-- | loopback.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/loopback.h b/loopback.h new file mode 100644 index 0000000..fe44e91 --- /dev/null +++ b/loopback.h @@ -0,0 +1,16 @@ +#include "midimonster.h" + +int init(); +static int backend_configure(char* option, char* value); +static int backend_configure_instance(instance* instance, char* option, char* value); +static instance* backend_instance(); +static channel* backend_channel(instance* instance, char* spec); +static int backend_set(instance* inst, size_t num, channel** c, channel_value* v); +static int backend_handle(size_t num, managed_fd* fds); +static int backend_start(); +static int backend_shutdown(); + +typedef struct /*_loopback_instance_data*/ { + size_t n; + char** name; +} loopback_instance; |