Changeset 1368 for portaudio/branches/v19-devel/test/patest_read_record.c
- Timestamp:
- 02/29/08 19:38:27 (9 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
portaudio/branches/v19-devel/test/patest_read_record.c
r1097 r1368 113 113 114 114 inputParameters.device = Pa_GetDefaultInputDevice(); /* default input device */ 115 if (inputParameters.device == paNoDevice) { 116 fprintf(stderr,"Error: No default input device.\n"); 117 goto error; 118 } 115 119 inputParameters.channelCount = NUM_CHANNELS; 116 120 inputParameters.sampleFormat = PA_SAMPLE_TYPE; … … 192 196 193 197 outputParameters.device = Pa_GetDefaultOutputDevice(); /* default output device */ 198 if (outputParameters.device == paNoDevice) { 199 fprintf(stderr,"Error: No default output device.\n"); 200 goto error; 201 } 194 202 outputParameters.channelCount = NUM_CHANNELS; 195 203 outputParameters.sampleFormat = PA_SAMPLE_TYPE;
