fix: increase sleep duration in WAV load test to ensure control key processing
Co-authored-by: aider (deepseek/deepseek-reasoner) <aider@aider.chat>
This commit is contained in:
@@ -969,7 +969,7 @@ static int test_wav_load(void) {
|
|||||||
kill(pid, SIGTERM); waitpid(pid, NULL, 0);
|
kill(pid, SIGTERM); waitpid(pid, NULL, 0);
|
||||||
unlink("loop.wav"); return 1;
|
unlink("loop.wav"); return 1;
|
||||||
}
|
}
|
||||||
safe_usleep(200000);
|
safe_usleep(1000000); /* 1 second to ensure control key is processed */
|
||||||
if (send_jack_note_on("looper:control", 70, 127) != 0) {
|
if (send_jack_note_on("looper:control", 70, 127) != 0) {
|
||||||
jack_deactivate(client);
|
jack_deactivate(client);
|
||||||
jack_client_close(client);
|
jack_client_close(client);
|
||||||
|
|||||||
Reference in New Issue
Block a user