feat: integrate real Carla host with JACK support and add plugin abstraction layer
This commit is contained in:
22
client/src/plugins.h
Normal file
22
client/src/plugins.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#ifndef PLUGINS_H
|
||||
#define PLUGINS_H
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* All functions return -1 on error, 0 on success (except plugin_load which returns 0 on success and sets *out_id) */
|
||||
|
||||
int plugin_load(const char *binary, const char *plugin_id, int *out_id);
|
||||
int plugin_unload(int id);
|
||||
int plugin_connect(int id, const char *port_name, const char *looper_port);
|
||||
int plugin_disconnect(const char *from, const char *to);
|
||||
void plugin_set_bypass(int id, bool bypass);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user