| @@ -10,8 +10,10 @@ | |||||
| #include <unistd.h> | #include <unistd.h> | ||||
| #include <stdlib.h> | #include <stdlib.h> | ||||
| #include <string.h> | #include <string.h> | ||||
| #include <inttypes.h> | |||||
| #include <jack/jack.h> | #include <jack/jack.h> | ||||
| #include <jack/types.h> | |||||
| #include <jack/session.h> | #include <jack/session.h> | ||||
| jack_port_t *input_port; | jack_port_t *input_port; | ||||
| @@ -193,8 +195,11 @@ main (int argc, char *argv[]) | |||||
| /* keep running until until we get a quit event */ | /* keep running until until we get a quit event */ | ||||
| while (!simple_quit) | while (!simple_quit) | ||||
| #ifdef WIN32 | |||||
| Sleep(1*1000); | |||||
| #else | |||||
| sleep(1); | sleep(1); | ||||
| #endif | |||||
| jack_client_close (client); | jack_client_close (client); | ||||
| exit (0); | exit (0); | ||||