- Timestamp:
- Jul 27, 2018 2:58:41 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia-audiodev/alsa_dev.c
r5678 r5846 244 244 /* Check if the device could be opened in playback or capture mode */ 245 245 if (pb_result<0 && ca_result<0) { 246 TRACE_((THIS_FILE, "Unable to open sound device %s", dev_name)); 247 return PJMEDIA_EAUD_NODEV; 246 TRACE_((THIS_FILE, "Unable to open sound device %s, setting " 247 "in/out channel count to 0", dev_name)); 248 /* Set I/O channel counts to 0 to indicate unavailable device */ 249 adi->output_count = 0; 250 adi->input_count = 0; 248 251 } 249 252
Note: See TracChangeset
for help on using the changeset viewer.