Changeset 1368 for portaudio/branches/v19-devel/test/patest_record.c
- Timestamp:
- 02/29/08 19:38:27 (9 months ago)
- Files:
-
- 1 modified
-
portaudio/branches/v19-devel/test/patest_record.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
portaudio/branches/v19-devel/test/patest_record.c
r1281 r1368 224 224 225 225 inputParameters.device = Pa_GetDefaultInputDevice(); /* default input device */ 226 if (inputParameters.device == paNoDevice) { 227 fprintf(stderr,"Error: No default input device.\n"); 228 goto done; 229 } 226 230 inputParameters.channelCount = 2; /* stereo input */ 227 231 inputParameters.sampleFormat = PA_SAMPLE_TYPE; … … 296 300 297 301 outputParameters.device = Pa_GetDefaultOutputDevice(); /* default output device */ 302 if (outputParameters.device == paNoDevice) { 303 fprintf(stderr,"Error: No default output device.\n"); 304 goto done; 305 } 298 306 outputParameters.channelCount = 2; /* stereo output */ 299 307 outputParameters.sampleFormat = PA_SAMPLE_TYPE;
