Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13731
Modified Files: Tag: desiredata s_audio_sgi.c Log Message: remove fprintf
Index: s_audio_sgi.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/Attic/s_audio_sgi.c,v retrieving revision 1.1.4.1.4.3 retrieving revision 1.1.4.1.4.4 diff -C2 -d -r1.1.4.1.4.3 -r1.1.4.1.4.4 *** s_audio_sgi.c 30 Jul 2007 22:48:21 -0000 1.1.4.1.4.3 --- s_audio_sgi.c 30 Jul 2007 22:49:57 -0000 1.1.4.1.4.4 *************** *** 84,88 **** alSetDevice(sgi_inconfig, in_dev); sgi_iport[n] = alOpenPort("Pd input port", "r", sgi_inconfig); ! if (!sgi_iport[n]) fprintf(stderr,"Pd: failed to open audio read port\n"); /* try to set samplerate */ pvbuf[0].param = AL_RATE; --- 84,88 ---- alSetDevice(sgi_inconfig, in_dev); sgi_iport[n] = alOpenPort("Pd input port", "r", sgi_inconfig); ! if (!sgi_iport[n]) error("failed to open audio read port"); /* try to set samplerate */ pvbuf[0].param = AL_RATE; *************** *** 125,129 **** /* open the port */ sgi_oport[n] = alOpenPort("Pd ouput port", "w", sgi_outconfig); ! if (!sgi_oport[n]) fprintf(stderr,"Pd: failed to open audio write port\n"); /* now try to set sample rate */ pvbuf[0].param = AL_RATE; --- 125,129 ---- /* open the port */ sgi_oport[n] = alOpenPort("Pd ouput port", "w", sgi_outconfig); ! if (!sgi_oport[n]) error("failed to open audio write port"); /* now try to set sample rate */ pvbuf[0].param = AL_RATE; *************** *** 193,198 **** timenow = sys_getrealtime(); #ifdef DEBUG_SGI_XFER ! if (timenow - timelast > 0.050) ! fprintf(stderr, "(%d)", (int)(1000 * (timenow - timelast))), fflush(stderr); #endif callno++; --- 193,197 ---- timenow = sys_getrealtime(); #ifdef DEBUG_SGI_XFER ! if (timenow - timelast > 0.050) post("(%d)", (int)(1000 * (timenow - timelast))), fflush(stderr); #endif callno++; *************** *** 226,230 **** if (sys_getrealtime() - timenow > 0.002) { #ifdef DEBUG_SGI_XFER ! fprintf(stderr, "output %d took %d msec\n", callno, (int)(1000 * (timenow - timelast))), fflush(stderr); #endif timenow = sys_getrealtime(); --- 225,229 ---- if (sys_getrealtime() - timenow > 0.002) { #ifdef DEBUG_SGI_XFER ! post("output %d took %d msec", callno, (int)(1000 * (timenow - timelast))), fflush(stderr); #endif timenow = sys_getrealtime(); *************** *** 251,255 **** if (sys_getrealtime() - timenow > 0.002) { #ifdef DEBUG_SGI_XFER ! fprintf(stderr, "routine took %d msec\n", (int)(1000 * (sys_getrealtime() - timenow))); #endif sys_log_error(ERR_ADCSLEPT); --- 250,254 ---- if (sys_getrealtime() - timenow > 0.002) { #ifdef DEBUG_SGI_XFER ! post("routine took %d msec", int(1000 * (sys_getrealtime() - timenow))); #endif sys_log_error(ERR_ADCSLEPT);