examples/jackio.c: update jack_client_new ot jack_client_open
authorPaul Brossier <piem@piem.org>
Tue, 5 Nov 2013 13:10:32 +0000 (14:10 +0100)
committerPaul Brossier <piem@piem.org>
Tue, 5 Nov 2013 13:10:32 +0000 (14:10 +0100)
examples/jackio.c

index f2da628..bcb7fb9 100644 (file)
@@ -90,7 +90,9 @@ new_aubio_jack (uint_t ichan, uint_t ochan,
   char *jack_port_type;
   char name[64];
   /* initial jack client setup */
-  if ((jack_setup->client = jack_client_new (client_name)) == 0) {
+  jack_options_t options = JackNullOption;
+  jack_status_t *status = NULL;
+  if ((jack_setup->client = jack_client_open (client_name, options, status)) == 0) {
     AUBIO_ERR ("jack server not running?\n");
     AUBIO_QUIT (AUBIO_FAIL);
   }