Changeset 507 for pjproject/trunk
- Timestamp:
- Jun 14, 2006 8:04:55 PM (18 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/pjsua/pjsua.c
r503 r507 587 587 cfg->duration = my_atoi(pj_optarg); 588 588 break; 589 590 default: 591 PJ_LOG(1,(THIS_FILE, "Invalid argument %s", argv[pj_optind-1])); 592 return -1; 589 593 } 590 594 } … … 2069 2073 if (status != PJ_SUCCESS) 2070 2074 goto on_error; 2075 2076 app_config.wav_port = pjsua_player_get_conf_port(app_config.wav_id); 2071 2077 } 2072 2078 … … 2109 2115 goto on_error; 2110 2116 2117 /* Use null sound device? */ 2118 if (app_config.null_audio) { 2119 status = pjsua_set_null_snd_dev(); 2120 if (status != PJ_SUCCESS) 2121 return status; 2122 } 2123 2111 2124 return PJ_SUCCESS; 2112 2125 -
pjproject/trunk/pjsip-apps/src/samples/streamutil.c
r483 r507 476 476 */ 477 477 if (master_port) { 478 pjmedia_master_port_destroy(master_port );478 pjmedia_master_port_destroy(master_port, PJ_TRUE); 479 479 play_file_port = NULL; 480 480 stream = NULL; -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
r503 r507 327 327 328 328 /* Create sound port if none is created yet */ 329 if (pjsua_var.snd_port ==NULL) {329 if (pjsua_var.snd_port==NULL && pjsua_var.null_snd==NULL) { 330 330 status = pjsua_set_snd_dev(pjsua_var.cap_dev, pjsua_var.play_dev); 331 331 if (status != PJ_SUCCESS) {
Note: See TracChangeset
for help on using the changeset viewer.