Browse Source

Merge ba0d05b3cf into d53945f7ed

pull/2/merge
falkTX 11 years ago
parent
commit
8e71b53a80
1 changed files with 8 additions and 1 deletions
  1. +8
    -1
      latent_client.c

+ 8
- 1
latent_client.c View File

@@ -1,4 +1,4 @@
/** @file simple_client.c
/** @file latent_client.c
*
* @brief This simple client demonstrates the most basic features of JACK
* as they would be used by many applications.
@@ -9,6 +9,7 @@
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>

#include <jack/jack.h>

@@ -70,6 +71,7 @@ latency_cb (jack_latency_callback_mode_t mode, void *arg)
void
jack_shutdown (void *arg)
{
fprintf(stderr, "JACK shut down, exiting ...\n");
exit (1);
}

@@ -196,7 +198,11 @@ main (int argc, char *argv[])

/* keep running until stopped by the user */

#ifdef WIN32
Sleep (-1);
#else
sleep (-1);
#endif

/* this is never reached but if the program
had some other way to exit besides being killed,
@@ -206,3 +212,4 @@ main (int argc, char *argv[])
jack_client_close (client);
exit (0);
}


Loading…
Cancel
Save