aboutsummaryrefslogtreecommitdiffhomepage
path: root/backends/loopback.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/loopback.h')
-rw-r--r--backends/loopback.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/backends/loopback.h b/backends/loopback.h
new file mode 100644
index 0000000..fe44e91
--- /dev/null
+++ b/backends/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;