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/pjsip-apps/src/pjsua/pjsua_app.c

    r2452 r2454  
    24652465    /* Reset conference port attributes. */ 
    24662466    conf->info.samples_per_frame = samples_per_frame; 
    2467     conf->info.clock_rate = 8000; 
     2467    conf->info.clock_rate = strm_info->param->info.clock_rate; 
    24682468    conf->info.channel_count = 1; 
    24692469    conf->info.bits_per_sample = 16; 
     
    24742474                                      -1, 
    24752475                                      -1, 
    2476                                       8000, 
    2477                                       1, 
     2476                                      strm_info->param->info.clock_rate, 
     2477                                      strm_info->param->info.channel_cnt, 
    24782478                                      samples_per_frame, 
    24792479                                      16, 
Note: See TracChangeset for help on using the changeset viewer.