feat: integrate real Carla host with JACK support and add plugin abstraction layer
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#include <dirent.h>
|
||||
#include <sys/stat.h>
|
||||
#include <math.h>
|
||||
#include "carla_host.h"
|
||||
|
||||
/* ---------- FIFO command helper ---------- */
|
||||
int send_command(const char *cmd) {
|
||||
@@ -151,6 +152,8 @@ void tui_init(void) {
|
||||
/* initialise cell states to idle */
|
||||
for (int i = 0; i < GRID_ROWS * GRID_COLS; i++)
|
||||
cell_state[i] = STATE_IDLE;
|
||||
/* open the JACK client used for Carla plugins */
|
||||
carla_init_jack();
|
||||
}
|
||||
|
||||
/* ---------- TUI run ---------- */
|
||||
@@ -234,5 +237,7 @@ void tui_cleanup(void) {
|
||||
/* delete FIFOs */
|
||||
unlink(STATUS_FIFO);
|
||||
unlink(CMD_FIFO);
|
||||
/* close the Carla JACK client */
|
||||
carla_cleanup_jack();
|
||||
curs_set(1); endwin();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user