feat: add MIDI stop command and FIFO pipe integration test

Co-authored-by: aider (deepseek/deepseek-reasoner) <aider@aider.chat>
This commit is contained in:
Loic Coenen
2026-05-09 23:56:09 +00:00
parent 7b61384154
commit c592c24634
2 changed files with 92 additions and 0 deletions

View File

@@ -63,6 +63,11 @@ void midi_handle_events(void *port_buffer, jack_nframes_t nframes) {
command_t cmd = { .type = CMD_UNBIND, .channel = -1, .data = 0 };
queue_push(&cmd_queue, cmd);
} break;
case 65:
{
command_t cmd = { .type = CMD_STOP, .channel = -1, .data = 0 };
queue_push(&cmd_queue, cmd);
} break;
default:
break;
}