Changeset 1368 for portaudio/branches/v19-devel/test/pa_fuzz.c
- Timestamp:
- 02/29/08 19:38:27 (9 months ago)
- Files:
-
- 1 modified
-
portaudio/branches/v19-devel/test/pa_fuzz.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
portaudio/branches/v19-devel/test/pa_fuzz.c
r1097 r1368 132 132 if( err != paNoError ) goto error; 133 133 134 135 134 inputParameters.device = Pa_GetDefaultInputDevice(); /* default input device */ 135 if (inputParameters.device == paNoDevice) { 136 fprintf(stderr,"Error: No default input device.\n"); 137 goto error; 138 } 136 139 inputParameters.channelCount = 2; /* stereo input */ 137 140 inputParameters.sampleFormat = PA_SAMPLE_TYPE; … … 140 143 141 144 outputParameters.device = Pa_GetDefaultOutputDevice(); /* default output device */ 145 if (outputParameters.device == paNoDevice) { 146 fprintf(stderr,"Error: No default output device.\n"); 147 goto error; 148 } 142 149 outputParameters.channelCount = 2; /* stereo output */ 143 150 outputParameters.sampleFormat = PA_SAMPLE_TYPE;
