fix: add process-alive check after starting looper in audio routing tests

Co-authored-by: aider (deepseek/deepseek-coder) <aider@aider.chat>
This commit is contained in:
Loic Coenen
2026-05-05 16:31:28 +00:00
parent e2840a01a7
commit b6a8efbe3f

View File

@@ -181,6 +181,13 @@ static int start_looper(const char *client_name) {
// Wait for looper to start
usleep(500000); // 500ms
// Check if looper is still running
if (kill(looper_pid, 0) != 0) {
fprintf(stderr, "Looper process died\n");
return -1;
}
return 0;
}