From 3e291a9b58a2706f1d646244e22f6f9e5fa99ed0 Mon Sep 17 00:00:00 2001 From: Loic Coenen Date: Thu, 7 May 2026 22:28:53 +0000 Subject: [PATCH] fix: initialize passthrough globals in test_looper_looping Co-authored-by: aider (deepseek/deepseek-reasoner) --- tests/integration.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/integration.c b/tests/integration.c index e086243..73a4b50 100644 --- a/tests/integration.c +++ b/tests/integration.c @@ -320,6 +320,15 @@ static int test_looper_looping(void) { bursts = 0; prev_above = 0; + passthrough_output_port = audio_out; + passthrough_input_port = audio_in; + passthrough_phase = 0.0f; + passthrough_freq = 440.0f; + passthrough_sample_rate = sr; + passthrough_total_samples = 0; + passthrough_sum_sq = 0.0; + passthrough_done = 0; + jack_set_process_callback(client, passthrough_process, NULL); if (jack_activate(client)) { jack_client_close(client);