feat: add unbind command (note 63) to reset bind_channel to 0

Co-authored-by: aider (deepseek/deepseek-reasoner) <aider@aider.chat>
This commit is contained in:
Loic Coenen
2026-05-09 11:14:52 +00:00
parent ac9ce26e9a
commit 60a8bdcfe8
3 changed files with 140 additions and 2 deletions

View File

@@ -59,6 +59,9 @@ void midi_handle_events(void *port_buffer, jack_nframes_t nframes)
}
}
break;
case 63: /* unbind reset bind to channel 0 */
atomic_store(&bind_channel, 0);
break;
default:
break;
}