Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14738
Modified Files: Tag: desiredata s_audio_jack.c Log Message: cleanup
Index: s_audio_jack.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/s_audio_jack.c,v retrieving revision 1.5.4.8.2.7.2.2 retrieving revision 1.5.4.8.2.7.2.3 diff -C2 -d -r1.5.4.8.2.7.2.2 -r1.5.4.8.2.7.2.3 *** s_audio_jack.c 20 Dec 2006 07:58:01 -0000 1.5.4.8.2.7.2.2 --- s_audio_jack.c 28 Jun 2007 09:02:32 -0000 1.5.4.8.2.7.2.3 *************** *** 1,7 **** - - - /* ----------------------- Routines for jack ---------------------------- */ #ifdef USEAPI_JACK - #include <stdio.h> #include <stdlib.h> --- 1,3 ---- *************** *** 12,16 **** [...970 lines suppressed...] ! if (jack_in_connections[i]) { j = 0; ! while (1) { const char* src_port = jack_in_connections[i][j]; ! if (!src_port) break; /* we've connected all incoming ports */ ! status = jack_connect(jack_client, src_port, jack_port_name(input_port[i])); ! if (status) post("cannot connect input ports %s -> %s", src_port, jack_port_name (input_port[i])); ++j; } } /* restoring the output connections */ ! if (jack_out_connections[i]) { j = 0; ! while (1) { const char* dst_port = jack_out_connections[i][j]; ! if (!dst_port) break; /* we've connected all outgoing ports */ ! status = jack_connect(jack_client, jack_port_name(output_port[i]), dst_port); ! if (status) post("cannot connect output ports %s -> %s", jack_port_name(output_port[i]), dst_port); ++j; }