- Timestamp:
- Apr 5, 2007 10:43:28 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/pjproject-0.5-stable/pjsip/src/pjsua-lib/pjsua_media.c
r1065 r1155 389 389 status = pjsua_set_snd_dev(pjsua_var.cap_dev, pjsua_var.play_dev); 390 390 if (status != PJ_SUCCESS) { 391 /* Error opening sound device, use null device */ 392 char errmsg[PJ_ERR_MSG_SIZE]; 393 394 pj_strerror(status, errmsg, sizeof(errmsg)); 395 PJ_LOG(4,(THIS_FILE, 396 "Error opening default sound device (%s (status=%d)). " 397 "Will use NULL device instead", 398 errmsg, status)); 399 400 status = pjsua_set_null_snd_dev(); 401 if (status != PJ_SUCCESS) { 402 pjsua_perror(THIS_FILE, "Error opening NULL sound device", 403 status); 404 return status; 405 } 391 pjsua_perror(THIS_FILE, "Error opening sound device", status); 392 return status; 406 393 } 407 394 }
Note: See TracChangeset
for help on using the changeset viewer.