Browse Source

Typo.

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3092 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/1.9.1
sletz 16 years ago
parent
commit
d241da3a3e
1 changed files with 13 additions and 13 deletions
  1. +13
    -13
      tests/external_metro.cpp

+ 13
- 13
tests/external_metro.cpp View File

@@ -21,15 +21,15 @@

typedef jack_default_audio_sample_t sample_t;

const double PI = 3.14;
static void JackSleep(int sec)
{
#ifdef WIN32
Sleep(sec * 1000);
#else
sleep(sec);
#endif
const double PI = 3.14;
static void JackSleep(int sec)
{
#ifdef WIN32
Sleep(sec * 1000);
#else
sleep(sec);
#endif
}

int ExternalMetro::process_audio (jack_nframes_t nframes, void* arg)
@@ -153,7 +153,7 @@ int main (int argc, char *argv[])
client4 = new ExternalMetro(400, 0.4, 20, 200, "t4");
client5 = new ExternalMetro(1500, 0.4, 20, 150, "t5");

printf("Type 'c' to close alls client and go to next test...\n");
printf("Type 'c' to close all clients and go to next test...\n");
while ((getchar() != 'c')) {
JackSleep(1);
};
@@ -164,11 +164,11 @@ int main (int argc, char *argv[])
delete client4;
delete client5;

printf("Testing quiting the server while a client is running...\n");
printf("Testing quitting the server while a client is running...\n");
client1 = new ExternalMetro(1200, 0.4, 20, 80, "t1");

printf("Now quit the server, shutdown callback should be called...\n");
printf("Type 'c' move on...\n");
printf("Type 'c' to move on...\n");
while ((getchar() != 'c')) {
JackSleep(1);
};
@@ -177,7 +177,7 @@ int main (int argc, char *argv[])
delete client1;

printf("Now start the server again...\n");
printf("Type 'c' move on...\n");
printf("Type 'c' ro move on...\n");
while ((getchar() != 'c')) {
JackSleep(1);
};


Loading…
Cancel
Save