Changeset 541
- Timestamp:
- Jun 22, 2006 6:51:50 PM (18 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app.c
r528 r541 2077 2077 /* Optionally registers WAV file */ 2078 2078 if (app_config.wav_file.slen) { 2079 status = pjsua_player_create(&app_config.wav_file, 0, NULL,2079 status = pjsua_player_create(&app_config.wav_file, 0, 2080 2080 &app_config.wav_id); 2081 2081 if (status != PJ_SUCCESS) -
pjproject/trunk/pjsip-apps/src/samples/confsample.c
r531 r541 200 200 clock_rate, channel_count, 201 201 samples_per_frame, 202 bits_per_sample, 0, 0, NULL,202 bits_per_sample, 0, 0, 203 203 &rec_port); 204 204 if (status != PJ_SUCCESS) { … … 223 223 0, /* flags */ 224 224 0, /* buf size */ 225 NULL, /* user data */226 225 &file_port[i] /* result */ 227 226 ); -
pjproject/trunk/pjsip-apps/src/samples/debug.c
r464 r541 28 28 * #include "playfile.c" 29 29 */ 30 #include "s ndtest.c"30 #include "siprtp.c" 31 31 -
pjproject/trunk/pjsip-apps/src/samples/level.c
r531 r541 117 117 0, /* flags */ 118 118 0, /* default buffer */ 119 NULL, /* user data */120 119 &file_port/* returned port */ 121 120 ); -
pjproject/trunk/pjsip-apps/src/samples/playfile.c
r531 r541 128 128 0, /* flags */ 129 129 0, /* default buffer */ 130 NULL, /* user data */131 130 &file_port/* returned port */ 132 131 ); -
pjproject/trunk/pjsip-apps/src/samples/recfile.c
r531 r541 123 123 SAMPLES_PER_FRAME, 124 124 BITS_PER_SAMPLE, 125 0, 0, NULL,125 0, 0, 126 126 &file_port); 127 127 if (status != PJ_SUCCESS) { -
pjproject/trunk/pjsip-apps/src/samples/resampleplay.c
r531 r541 122 122 /* Create the file port. */ 123 123 status = pjmedia_wav_player_port_create( pool, argv[pj_optind], 0, 0, 124 0, 0,&file_port);124 0, &file_port); 125 125 if (status != PJ_SUCCESS) { 126 126 app_perror(THIS_FILE, "Unable to open file", status); -
pjproject/trunk/pjsip-apps/src/samples/streamutil.c
r531 r541 375 375 stream_port->info.clock_rate; 376 376 status = pjmedia_wav_player_port_create(pool, play_file, wav_ptime, 377 0, -1, NULL,&play_file_port);377 0, -1, &play_file_port); 378 378 if (status != PJ_SUCCESS) { 379 379 app_perror(THIS_FILE, "Unable to use file", status); -
pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h
r528 r541 2236 2236 * clock rate is supported). 2237 2237 * @param options Options (currently zero). 2238 * @param user_data Arbitrary user data to be associated with the player.2239 2238 * @param p_id Pointer to receive player ID. 2240 2239 * … … 2243 2242 PJ_DECL(pj_status_t) pjsua_player_create(const pj_str_t *filename, 2244 2243 unsigned options, 2245 void *user_data,2246 2244 pjsua_player_id *p_id); 2247 2245 … … 2298 2296 * limitation. 2299 2297 * @param options Optional options. 2300 * @param user_data Arbitrary user data which will be given in the2301 * callback once the recording complete.2302 2298 * @param p_id Pointer to receive the recorder instance. 2303 2299 * … … 2309 2305 pj_ssize_t max_size, 2310 2306 unsigned options, 2311 void *user_data,2312 2307 pjsua_recorder_id *p_id); 2313 2308 -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
r528 r541 601 601 PJ_DEF(pj_status_t) pjsua_player_create( const pj_str_t *filename, 602 602 unsigned options, 603 void *user_data,604 603 pjsua_player_id *p_id) 605 604 { … … 631 630 pjsua_var.mconf_cfg.samples_per_frame * 632 631 1000 / pjsua_var.media_cfg.clock_rate, 633 0, 0, user_data,&port);632 0, 0, &port); 634 633 if (status != PJ_SUCCESS) { 635 634 PJSUA_UNLOCK(); … … 722 721 pj_ssize_t max_size, 723 722 unsigned options, 724 void *user_data,725 723 pjsua_recorder_id *p_id) 726 724 { … … 754 752 pjsua_var.mconf_cfg.samples_per_frame, 755 753 pjsua_var.mconf_cfg.bits_per_sample, 756 0, 0, user_data,&port);754 0, 0, &port); 757 755 if (status != PJ_SUCCESS) { 758 756 PJSUA_UNLOCK();
Note: See TracChangeset
for help on using the changeset viewer.