Ignore:
Timestamp:
Feb 5, 2009 12:28:38 PM (15 years ago)
Author:
nanang
Message:
  • Fixed pjmedia_frame_ext_pop_subframes() in calculating len.
  • Fixed symbian_sound_aps.cpp in filling silence, previously just by filling zeroes.
  • Some fixes in ua.cpp: always reopen sound device (even if PCM is in use), make sure sound device closed before quit, release application pool.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/aps-direct/pjsip-apps/src/symbian_ua/ua.cpp

    r2438 r2439  
    281281        return; 
    282282 
    283     /* Don't need to reopen sound device when the session doesn't use 
    284      * 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      
    292283    pj_bzero(&setting, sizeof(setting)); 
    293284    setting.format = strm_info->param->info.format; 
     
    878869#endif 
    879870         
    880     // Let pjsua destroys app pool, since the pool may still be used by app 
    881     // 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 
    885876    // Release application pool 
    886877    if (app_pool) { 
     
    888879        app_pool = NULL; 
    889880    } 
    890     */ 
    891881     
    892882    // Shutdown pjsua 
Note: See TracChangeset for help on using the changeset viewer.