Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14624
Modified Files: Tag: desiredata s_audio_pa.c s_audio_portaudio.c s_audio_sgi.c Log Message: remove blank lines in console
Index: s_audio_portaudio.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/Attic/s_audio_portaudio.c,v retrieving revision 1.1.2.21.2.7 retrieving revision 1.1.2.21.2.8 diff -C2 -d -r1.1.2.21.2.7 -r1.1.2.21.2.8 *** s_audio_portaudio.c 30 Jul 2007 22:54:00 -0000 1.1.2.21.2.7 --- s_audio_portaudio.c 2 Aug 2007 22:25:14 -0000 1.1.2.21.2.8 *************** *** 45,49 **** pa_status = Pa_Initialize(); if (pa_status!=paNoError) { ! error("Error number %d occured initializing portaudio: %s\n", pa_status, Pa_GetErrorText(pa_status)); return; } --- 45,49 ---- pa_status = Pa_Initialize(); if (pa_status!=paNoError) { ! error("Error number %d occured initializing portaudio: %s", pa_status, Pa_GetErrorText(pa_status)); return; } *************** *** 147,152 ****
if (err != paNoError) { ! post("Error number %d occured opening portaudio stream\n", err); ! post("Error message: %s\n", Pa_GetErrorText(err)); sys_inchannels = sys_outchannels = 0; pa_indev = pa_outdev = -1; --- 147,151 ----
if (err != paNoError) { ! error("Error number %d occured opening portaudio stream: %s", err, Pa_GetErrorText(err)); sys_inchannels = sys_outchannels = 0; pa_indev = pa_outdev = -1; *************** *** 161,171 **** err = Pa_StartStream(pa_stream); if (err!=paNoError) { ! post("Error number %d occured starting portaudio stream\n", err); ! post("Error message: %s\n", Pa_GetErrorText(err)); sys_inchannels = sys_outchannels = 0; return 1; } ! if(sys_verbose) ! post("successfully started"); return 0; } --- 160,168 ---- err = Pa_StartStream(pa_stream); if (err!=paNoError) { ! post("Error number %d occured starting portaudio stream: %s", err, Pa_GetErrorText(err)); sys_inchannels = sys_outchannels = 0; return 1; } ! if(sys_verbose) post("successfully started"); return 0; }
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.4 retrieving revision 1.1.4.1.4.5 diff -C2 -d -r1.1.4.1.4.4 -r1.1.4.1.4.5 *** s_audio_sgi.c 30 Jul 2007 22:49:57 -0000 1.1.4.1.4.4 --- s_audio_sgi.c 2 Aug 2007 22:25:14 -0000 1.1.4.1.4.5 *************** *** 74,78 **** } if (!in_dev) { ! error("%s\n", sgi_get_error_message(in_dev)); continue; /* try next device, if any */ } --- 74,78 ---- } if (!in_dev) { ! error("%s", sgi_get_error_message(in_dev)); continue; /* try next device, if any */ } *************** *** 113,117 **** } if (!out_dev) { ! error("%s\n", sgi_get_error_message(out_dev)); continue; /* try next device, if any */ } --- 113,117 ---- } if (!out_dev) { ! error("%s", sgi_get_error_message(out_dev)); continue; /* try next device, if any */ }
Index: s_audio_pa.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/s_audio_pa.c,v retrieving revision 1.4.4.7.2.5.2.4 retrieving revision 1.4.4.7.2.5.2.5 diff -C2 -d -r1.4.4.7.2.5.2.4 -r1.4.4.7.2.5.2.5 *** s_audio_pa.c 30 Jul 2007 23:41:34 -0000 1.4.4.7.2.5.2.4 --- s_audio_pa.c 2 Aug 2007 22:25:13 -0000 1.4.4.7.2.5.2.5 *************** *** 57,62 **** err = Pa_Initialize(); if (err != paNoError) { ! fprintf(stderr, "Error number %d occured initializing portaudio\n", err); ! fprintf(stderr, "Error message: %s\n", Pa_GetErrorText(err)); return 1; } --- 57,62 ---- err = Pa_Initialize(); if (err != paNoError) { ! fprintf(stderr, "Error number %d occured initializing portaudio", err); ! fprintf(stderr, "Error message: %s", Pa_GetErrorText(err)); return 1; } *************** *** 132,137 **** } else err = 0; if (err != paNoError) { ! post("Error number %d occured opening portaudio stream\n", err); ! post("Error message: %s\n", Pa_GetErrorText( err ) ); Pa_Terminate(); sys_inchannels = sys_outchannels = 0; --- 132,137 ---- } else err = 0; if (err != paNoError) { ! post("Error number %d occured opening portaudio stream", err); ! post("Error message: %s", Pa_GetErrorText(err)); Pa_Terminate(); sys_inchannels = sys_outchannels = 0; *************** *** 145,150 **** err = Pa_StartStream(pa_stream); if (err != paNoError) { ! post("Error number %d occured starting portaudio stream\n", err); ! post("Error message: %s\n", Pa_GetErrorText(err)); Pa_Terminate(); sys_inchannels = sys_outchannels = 0; --- 145,150 ---- err = Pa_StartStream(pa_stream); if (err != paNoError) { ! post("Error number %d occured starting portaudio stream", err); ! post("Error message: %s", Pa_GetErrorText(err)); Pa_Terminate(); sys_inchannels = sys_outchannels = 0;