Ignore:
Timestamp:
Feb 13, 2009 11:53:12 AM (12 years ago)
Author:
bennylp
Message:

Added APS-Direct emulation to sound port and pjsua_app.c, also fixed miscellaneous compilation warnings

File:
1 edited

Legend:

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

    r2445 r2452  
    10311031             * samples per frame. 
    10321032             */ 
    1033             if (f_dst->samples_cnt == cport_dst->info->samples_per_frame) 
     1033            if (f_dst->samples_cnt >= cport_dst->info->samples_per_frame) 
    10341034            { 
    10351035                if (cport_dst->slot) { 
     
    13601360            pjmedia_frame_ext *f_dst = (pjmedia_frame_ext*)frame; 
    13611361            pjmedia_frame_ext_subframe *sf; 
    1362             pj_uint16_t samples_per_subframe; 
     1362            unsigned samples_per_subframe; 
    13631363             
    13641364            if (f_src_->samples_cnt < this_cport->info->samples_per_frame) { 
Note: See TracChangeset for help on using the changeset viewer.