Browse Source

change jack_client_new to jack_client_open in the remaining examples

git-svn-id: svn+ssh://jackaudio.org/trunk/jack@3925 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/0.120.1
torben 15 years ago
parent
commit
95516eb763
6 changed files with 6 additions and 6 deletions
  1. +1
    -1
      example-clients/capture_client.c
  2. +1
    -1
      example-clients/impulse_grabber.c
  3. +1
    -1
      example-clients/midiseq.c
  4. +1
    -1
      example-clients/midisine.c
  5. +1
    -1
      example-clients/showtime.c
  6. +1
    -1
      tools/monitor_client.c

+ 1
- 1
example-clients/capture_client.c View File

@@ -314,7 +314,7 @@ main (int argc, char *argv[])
exit (1);
}

if ((client = jack_client_new ("jackrec")) == 0) {
if ((client = jack_client_open ("jackrec", JackNullOption, NULL)) == 0) {
fprintf (stderr, "jack server not running?\n");
exit (1);
}


+ 1
- 1
example-clients/impulse_grabber.c View File

@@ -124,7 +124,7 @@ main (int argc, char *argv[])

/* try to become a client of the JACK server */

if ((client = jack_client_new("impulse_grabber")) == 0) {
if ((client = jack_client_open("impulse_grabber", JackNullOption, NULL)) == 0) {
fprintf (stderr, "jack server not running?\n");
return 1;
}


+ 1
- 1
example-clients/midiseq.c View File

@@ -83,7 +83,7 @@ int main(int narg, char **args)
usage();
exit(1);
}
if((client = jack_client_new (args[1])) == 0)
if((client = jack_client_open (args[1], JackNullOption, NULL)) == 0)
{
fprintf (stderr, "jack server not running?\n");
return 1;


+ 1
- 1
example-clients/midisine.c View File

@@ -104,7 +104,7 @@ int main(int narg, char **args)
{
jack_client_t *client;

if ((client = jack_client_new("midisine")) == 0)
if ((client = jack_client_open ("midisine", JackNullOption, NULL)) == 0)
{
fprintf(stderr, "jack server not running?\n");
return 1;


+ 1
- 1
example-clients/showtime.c View File

@@ -83,7 +83,7 @@ main (int argc, char *argv[])
{
/* try to become a client of the JACK server */

if ((client = jack_client_new ("showtime")) == 0) {
if ((client = jack_client_open ("showtime", JackNullOption, NULL)) == 0) {
fprintf (stderr, "jack server not running?\n");
return 1;
}


+ 1
- 1
tools/monitor_client.c View File

@@ -26,7 +26,7 @@ main (int argc, char *argv[])
return 1;
}

if ((client = jack_client_new ("input monitoring")) == 0) {
if ((client = jack_client_open ("input monitoring", JackNullOption, NULL)) == 0) {
fprintf (stderr, "jack server not running?\n");
return 1;
}


Loading…
Cancel
Save