Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21800/src
Modified Files: Tag: devel_0_38 s_audio_pablio.c Log Message: check for unavailable device
Index: s_audio_pablio.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/s_audio_pablio.c,v retrieving revision 1.1.4.1 retrieving revision 1.1.4.2 diff -C2 -d -r1.1.4.1 -r1.1.4.2 *** s_audio_pablio.c 5 Nov 2004 14:27:47 -0000 1.1.4.1 --- s_audio_pablio.c 16 May 2005 13:36:23 -0000 1.1.4.2 *************** *** 241,245 **** indeviceno = Pa_GetDefaultInputDeviceID(); #endif ! fprintf(stderr, "using default input device number: %d\n", indeviceno); } if (outdeviceno < 0) --- 241,247 ---- indeviceno = Pa_GetDefaultInputDeviceID(); #endif ! if(indeviceno == paNoDevice) inchannels = 0; ! ! fprintf(stderr, "using default input device number: %d\n", indeviceno); } if (outdeviceno < 0) *************** *** 250,254 **** outdeviceno = Pa_GetDefaultOutputDeviceID(); #endif ! fprintf(stderr, "using default output device number: %d\n", outdeviceno); } /* fprintf(stderr, "nchan %d, flags %d, bufs %d, framesperbuf %d\n", --- 252,258 ---- outdeviceno = Pa_GetDefaultOutputDeviceID(); #endif ! if(outdeviceno == paNoDevice) outchannels = 0; ! ! fprintf(stderr, "using default output device number: %d\n", outdeviceno); } /* fprintf(stderr, "nchan %d, flags %d, bufs %d, framesperbuf %d\n",