Index: iiwu_jack.c =================================================================== RCS file: /cvsroot/iiwusynth/iiwusynth/src/iiwu_jack.c,v retrieving revision 1.5 diff -r1.5 iiwu_jack.c 73a74,75 > /* for looking up ports */ > const char ** jack_ports; 124c126 < if (jack_connect(dev->client, jack_port_name(dev->left_port), "alsa_pcm:out_1")) { --- > /* if (jack_connect(dev->client, jack_port_name(dev->left_port), "alsa_pcm:out_1")) { 131c133,158 < } --- > } */ > > /* find some physical ports and connected to them */ > jack_ports = jack_get_ports (dev->client, NULL, NULL, JackPortIsInput|JackPortIsPhysical); > if (jack_ports) { > int i, err; > int connected = 0; > > for (i = 0; jack_ports[i] && connected < 2; ++i) { > err = jack_connect (dev->client, > jack_port_name( connected == 0 ? dev->left_port : dev->right_port ), > jack_ports[i]); > if (err) { > IIWU_LOG(IIWU_ERR, "Error connecting jack ports"); > goto error_recovery; > } > connected++; > } > > /* free them like we've been told */ > for (i = 0; jack_ports[i]; ++i) { > free (jack_ports[i]); > } > } else { > IIWU_LOG(IIWU_WARN, "Could not connect to any physical jack ports; iiwusynth is unconnected"); > }