diff --git a/example-clients/simple_client1.c b/example-clients/simple_client1.c index 0e3b203a..ece9ada9 100644 --- a/example-clients/simple_client1.c +++ b/example-clients/simple_client1.c @@ -183,13 +183,6 @@ main (int argc, char *argv[]) * it. */ - ports = jack_get_ports (client, NULL, NULL, - JackPortIsPhysical|JackPortIsInput); - if (ports == NULL) { - fprintf(stderr, "no physical playback ports\n"); - exit (1); - } - if (jack_connect (client, jack_port_name (output_port1), "meter:in")) { fprintf (stderr, "cannot connect output ports\n"); } @@ -198,7 +191,6 @@ main (int argc, char *argv[]) fprintf (stderr, "cannot connect output ports\n"); } - jack_free (ports); /* install a signal handler to properly quits jack client */ #ifdef WIN32