Changeset 4145
- Timestamp:
- May 22, 2012 11:13:22 PM (13 years ago)
- Location:
- pjproject/trunk/pjsip
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsua-lib/pjsua_internal.h
r4099 r4145 770 770 const pjmedia_sdp_session *local_sdp, 771 771 const pjmedia_sdp_session *remote_sdp); 772 void pjsua_check_snd_dev_idle(); 772 773 773 774 /* -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_aud.c
r4090 r4145 378 378 379 379 /* Check if sound device is idle. */ 380 static voidcheck_snd_dev_idle()380 void pjsua_check_snd_dev_idle() 381 381 { 382 382 unsigned call_cnt; … … 440 440 PJSUA_LOCK(); 441 441 if (entry->id) { 442 PJ_LOG(4,(THIS_FILE,"Closing sound device after idle for %d second s",442 PJ_LOG(4,(THIS_FILE,"Closing sound device after idle for %d second(s)", 443 443 pjsua_var.media_cfg.snd_auto_close_time)); 444 444 … … 533 533 } 534 534 535 check_snd_dev_idle();535 pjsua_check_snd_dev_idle(); 536 536 } 537 537 … … 792 792 793 793 status = pjmedia_conf_remove_port(pjsua_var.mconf, (unsigned)id); 794 check_snd_dev_idle();794 pjsua_check_snd_dev_idle(); 795 795 796 796 return status; … … 958 958 959 959 status = pjmedia_conf_disconnect_port(pjsua_var.mconf, source, sink); 960 check_snd_dev_idle();960 pjsua_check_snd_dev_idle(); 961 961 962 962 pj_log_pop_indent(); -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c
r4136 r4145 3129 3129 reset_call(call->index); 3130 3130 3131 pjsua_check_snd_dev_idle(); 3132 3131 3133 PJSUA_UNLOCK(); 3132 3134 }
Note: See TracChangeset
for help on using the changeset viewer.