From 74db4ed46ce4135e5bae043ebd10d7f3b00d90e8 Mon Sep 17 00:00:00 2001 From: Loic Coenen Date: Sun, 10 May 2026 19:13:51 +0000 Subject: [PATCH] fix: add missing channel pointer declaration in apply_command Co-authored-by: aider (deepseek/deepseek-reasoner) --- src/looper.c | 1 + 1 file changed, 1 insertion(+) 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: