Ignore:
Timestamp:
Feb 13, 2009 3:57:46 PM (15 years ago)
Author:
bennylp
Message:

Bug in APS-Direct emulation in sound_port causing crash and tick noise, and handle wideband audio in APS-Direct emulation in pjsua_app.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/aps-direct/pjmedia/src/pjmedia/sound_port.c

    r2452 r2454  
    318318 
    319319            subfrm = pjmedia_frame_ext_get_subframe(fx, i);          
     320 
     321            if (!subfrm || subfrm->bitlen==0) 
     322                continue; 
    320323 
    321324            if ((subfrm->bitlen>>3) > (int)(size-size_decoded)) { 
     
    721724    { 
    722725        snd_port->frm_buf_size = sizeof(pjmedia_frame_ext) +  
    723                                  (samples_per_frame >> 1) + 
     726                                 (samples_per_frame << 1) + 
    724727                                 16 * sizeof(pjmedia_frame_ext_subframe); 
    725728        snd_port->put_frm_buf = (pj_uint8_t*) 
Note: See TracChangeset for help on using the changeset viewer.