- Timestamp:
- Feb 5, 2009 12:28:38 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/aps-direct/pjsip-apps/src/symbian_ua/ua.cpp
r2438 r2439 281 281 return; 282 282 283 /* Don't need to reopen sound device when the session doesn't use284 * PCM format.285 */286 if (strm_info->param->info.format.u32 == 0 ||287 strm_info->param->info.format.u32 == PJMEDIA_FOURCC_L16)288 {289 return;290 }291 292 283 pj_bzero(&setting, sizeof(setting)); 293 284 setting.format = strm_info->param->info.format; … … 878 869 #endif 879 870 880 // Let pjsua destroys app pool, since the pool may still be used by app881 // until pjsua_destroy() finished. 882 // e.g: quitting app when there is an active call may cause sound port 883 // memory destroyed before sound port itself gets closed/destroyed.884 /* 871 if (snd_port) { 872 pjmedia_snd_port_destroy(snd_port); 873 snd_port = NULL; 874 } 875 885 876 // Release application pool 886 877 if (app_pool) { … … 888 879 app_pool = NULL; 889 880 } 890 */891 881 892 882 // Shutdown pjsua
Note: See TracChangeset
for help on using the changeset viewer.