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/pjmedia/include/pjmedia/port.h

    r2438 r2439  
    382382    move_src = (pj_uint8_t*)pjmedia_frame_ext_get_subframe(frm, n); 
    383383    sf = pjmedia_frame_ext_get_subframe(frm, frm->subframe_cnt-1); 
    384     move_len = (pj_uint8_t*)sf - move_src + sf->bitlen/8; 
     384    move_len = (pj_uint8_t*)sf - move_src + sizeof(sf->bitlen) + sf->bitlen/8; 
    385385    if (sf->bitlen % 8 != 0) 
    386386        ++move_len; 
Note: See TracChangeset for help on using the changeset viewer.