Use jack_client_open instead of deprecated jack_client_new.
authorStefan Westerfeld <stefan@space.twc.de>
Sun, 16 May 2010 13:13:30 +0000 (15:13 +0200)
committerStefan Westerfeld <stefan@space.twc.de>
Sun, 16 May 2010 13:13:30 +0000 (15:13 +0200)
src/jacksampler.cc

index 6e3de15..64ac80f 100644 (file)
@@ -386,7 +386,7 @@ main (int argc, char **argv)
     parseConfig (i, argv[i]);
 
   jack_client_t *client;
-  client = jack_client_new ("sampler");
+  client = jack_client_open ("sampler", JackNullOption, NULL);
   if (!client)
     {
       fprintf (stderr, "unable to connect to jack server\n");