Files
looper/client/src/carla_host.h

18 lines
523 B
C

#ifndef CARLA_HOST_H
#define CARLA_HOST_H
#include <stdbool.h>
/* All functions return -1 on error, 0 on success (except carla_load which returns 0 on success and sets *out_id) */
int carla_init_jack(void);
void carla_cleanup_jack(void);
int carla_load(const char *binary, const char *plugin_id, int *out_id);
int carla_unload(int id);
int carla_connect(int id, const char *port_name, const char *looper_port);
int carla_disconnect(const char *from, const char *to);
void carla_set_bypass(int id, bool bypass);
#endif