fix: pass live audio input through to output in process callback

Co-authored-by: aider (deepseek/deepseek-coder) <aider@aider.chat>
This commit is contained in:
Loic Coenen
2026-05-05 13:35:30 +00:00
parent de937dc3f9
commit 7bdecdd636

View File

@@ -138,7 +138,8 @@ static int process_callback(jack_nframes_t nframes, void *arg) {
} }
for (jack_nframes_t i = 0; i < nframes; i++) { for (jack_nframes_t i = 0; i < nframes; i++) {
rack_in[i] = 0.0f; // Start with live audio input
rack_in[i] = audio_in[ch][i];
for (int s = 0; s < MAX_SCENES; s++) { for (int s = 0; s < MAX_SCENES; s++) {
// Iterate over all grids for this scene and channel // Iterate over all grids for this scene and channel