fix: use engine->carla_host instead of state.carla_host in process_callback

Co-authored-by: aider (deepseek/deepseek-coder) <aider@aider.chat>
This commit is contained in:
Loic Coenen
2026-05-03 19:33:53 +00:00
parent 6951801bbc
commit 13cbe0c303

View File

@@ -159,7 +159,7 @@ static int process_callback(jack_nframes_t nframes, void *arg) {
} }
// Process through Carla rack // Process through Carla rack
carla_process(&state.carla_host, ch, rack_in, rack_out, nframes); carla_process(&engine->carla_host, ch, rack_in, rack_out, nframes);
// Copy to output // Copy to output
memcpy(audio_out[ch], rack_out, nframes * sizeof(jack_default_audio_sample_t)); memcpy(audio_out[ch], rack_out, nframes * sizeof(jack_default_audio_sample_t));