Ticket #988: jack_allports.diff
| File jack_allports.diff, 628 bytes (added by , 18 years ago) |
|---|
-
libao2/ao_jack.c
277 277 mp_msg(MSGT_AO, MSGL_FATAL, "[JACK] activate failed\n"); 278 278 goto err_out; 279 279 } 280 for (i = 0; i < num_ports; i++) { 281 if (jack_connect(client, jack_port_name(ports[i]), matching_ports[i])) { 280 for (i = 0; matching_ports[i]; i++) { 281 int j = i % num_ports; 282 if (jack_connect(client, jack_port_name(ports[j]), matching_ports[i])) { 282 283 mp_msg(MSGT_AO, MSGL_FATAL, "[JACK] connecting failed\n"); 283 284 goto err_out; 284 285 }
