fix: add missing channel pointer declaration in apply_command

Co-authored-by: aider (deepseek/deepseek-reasoner) <aider@aider.chat>
This commit is contained in:
Loic Coenen
2026-05-10 19:13:51 +00:00
parent 15be644af7
commit 74db4ed46c

View File

@@ -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: