Ignore:
Timestamp:
Feb 21, 2009 2:21:59 PM (16 years ago)
Author:
bennylp
Message:

Updated libraries and applications to use the new Audio Device API

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/aps-direct/pjsip-apps/src/pjsua/pjsua_app.c

    r2460 r2468  
    40604060    app_config.cfg.cb.on_nat_detect = &on_nat_detect; 
    40614061 
     4062    /* Set sound device latency */ 
     4063    if (app_config.capture_lat > 0) 
     4064        app_config.media_cfg.snd_rec_latency = app_config.capture_lat; 
     4065    if (app_config.playback_lat) 
     4066        app_config.media_cfg.snd_play_latency = app_config.playback_lat; 
     4067 
    40624068    /* Initialize pjsua */ 
    40634069    status = pjsua_init(&app_config.cfg, &app_config.log_cfg, 
     
    43184324    if (status != PJ_SUCCESS) 
    43194325        goto on_error; 
    4320  
    4321     /* Set sound device latency */ 
    4322     pjmedia_snd_set_latency(app_config.capture_lat, app_config.playback_lat); 
    43234326 
    43244327    /* Use null sound device? */ 
Note: See TracChangeset for help on using the changeset viewer.