aboutsummaryrefslogtreecommitdiffhomepage
path: root/backends/loopback.h
blob: cfb2e19083f6ee580d527c0b2e76d9f0cbb8ea80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "midimonster.h"

MM_PLUGIN_API int init();
static int loopback_configure(char* option, char* value);
static int loopback_configure_instance(instance* inst, char* option, char* value);
static int loopback_instance(instance* inst);
static channel* loopback_channel(instance* inst, char* spec, uint8_t flags);
static int loopback_set(instance* inst, size_t num, channel** c, channel_value* v);
static int loopback_handle(size_t num, managed_fd* fds);
static int loopback_start(size_t n, instance** inst);
static int loopback_shutdown(size_t n, instance** inst);

typedef struct /*_loopback_instance_data*/ {
	size_t n;
	char** name;
} loopback_instance_data;