aboutsummaryrefslogtreecommitdiffhomepage
path: root/backends/loopback.h
blob: fe44e91fa732a7a46cbdaae16fac8210c778b3ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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;