- Timestamp:
- Jun 27, 2008 12:52:51 PM (16 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app.c
r2069 r2074 234 234 puts (" --capture-dev=id Audio capture device ID (default=-1)"); 235 235 puts (" --playback-dev=id Audio playback device ID (default=-1)"); 236 puts (" --capture-lat=N Audio capture latency, in ms (default=10 )");236 puts (" --capture-lat=N Audio capture latency, in ms (default=100)"); 237 237 puts (" --playback-lat=N Audio playback latency, in ms (default=100)"); 238 238 puts (" --snd-auto-close=N Auto close audio device when it is idle for N seconds."); … … 2648 2648 info.slot_id, 2649 2649 info.clock_rate/1000, 2650 info.samples_per_frame * 1000 /info.clock_rate,2650 info.samples_per_frame*1000/info.channel_count/info.clock_rate, 2651 2651 info.channel_count, 2652 2652 (int)info.name.slen, -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
r2064 r2074 1151 1151 1152 1152 } else { 1153 pjmedia_srtp_info srtp_info;1154 1153 pjmedia_transport_info tp_info; 1155 1154 … … 1544 1543 } 1545 1544 1546 status = pjmedia_wav_player_port_create(pool, path, 1547 pjsua_var.mconf_cfg.samples_per_frame * 1548 1000 / pjsua_var.media_cfg.clock_rate, 1549 options, 0, &port); 1545 status = pjmedia_wav_player_port_create( 1546 pool, path, 1547 pjsua_var.mconf_cfg.samples_per_frame * 1548 1000 / pjsua_var.media_cfg.channel_count / 1549 pjsua_var.media_cfg.clock_rate, 1550 options, 0, &port); 1550 1551 if (status != PJ_SUCCESS) { 1551 1552 PJSUA_UNLOCK();
Note: See TracChangeset
for help on using the changeset viewer.