Ignore:
Timestamp:
Mar 12, 2009 6:11:37 PM (16 years ago)
Author:
bennylp
Message:

(Major) Task #737 and #738: integration of APS-Direct and Audiodev from aps-direct branch to trunk.

Location:
pjproject/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk

  • pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app.c

    r2505 r2506  
    41594159    app_config.cfg.cb.on_nat_detect = &on_nat_detect; 
    41604160 
     4161    /* Set sound device latency */ 
     4162    if (app_config.capture_lat > 0) 
     4163        app_config.media_cfg.snd_rec_latency = app_config.capture_lat; 
     4164    if (app_config.playback_lat) 
     4165        app_config.media_cfg.snd_play_latency = app_config.playback_lat; 
     4166 
    41614167    /* Initialize pjsua */ 
    41624168    status = pjsua_init(&app_config.cfg, &app_config.log_cfg, 
     
    44234429    if (status != PJ_SUCCESS) 
    44244430        goto on_error; 
    4425  
    4426     /* Set sound device latency */ 
    4427     pjmedia_snd_set_latency(app_config.capture_lat, app_config.playback_lat); 
    44284431 
    44294432    /* Use null sound device? */ 
Note: See TracChangeset for help on using the changeset viewer.