diff --git a/src/looper.c b/src/looper.c index 2c69291..8969a01 100644 --- a/src/looper.c +++ b/src/looper.c @@ -61,6 +61,7 @@ static int ensure_capacity(jack_client_t *client, int idx) { static void apply_command(command_t cmd) { int cap = atomic_load(&channel_capacity); + struct channel_t *cur = get_channels_array(); switch (cmd.type) { case CMD_CYCLE: