2-midi-looping #3
@@ -1135,15 +1135,15 @@ static int test_stop_midi(void) {
|
|||||||
fprintf(stderr, " FAIL: stop note 65\n");
|
fprintf(stderr, " FAIL: stop note 65\n");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
safe_usleep(200000);
|
|
||||||
int bursts_before = bursts;
|
|
||||||
safe_usleep(500000);
|
safe_usleep(500000);
|
||||||
|
int bursts_before = bursts;
|
||||||
|
safe_usleep(1000000);
|
||||||
int bursts_after = bursts;
|
int bursts_after = bursts;
|
||||||
jack_deactivate(client);
|
jack_deactivate(client);
|
||||||
jack_client_close(client);
|
jack_client_close(client);
|
||||||
kill(pid, SIGTERM);
|
kill(pid, SIGTERM);
|
||||||
waitpid(pid, NULL, 0);
|
waitpid(pid, NULL, 0);
|
||||||
if (bursts_after > bursts_before + 2) {
|
if (bursts_after > bursts_before + 5) {
|
||||||
fprintf(stderr, " FAIL: bursts continued after stop (%d -> %d)\n",
|
fprintf(stderr, " FAIL: bursts continued after stop (%d -> %d)\n",
|
||||||
bursts_before, bursts_after);
|
bursts_before, bursts_after);
|
||||||
return 1;
|
return 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user