Changeset 2454
- Timestamp:
- Feb 13, 2009 3:57:46 PM (16 years ago)
- Location:
- pjproject/branches/projects/aps-direct
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/aps-direct/pjmedia/src/pjmedia/sound_port.c
r2452 r2454 318 318 319 319 subfrm = pjmedia_frame_ext_get_subframe(fx, i); 320 321 if (!subfrm || subfrm->bitlen==0) 322 continue; 320 323 321 324 if ((subfrm->bitlen>>3) > (int)(size-size_decoded)) { … … 721 724 { 722 725 snd_port->frm_buf_size = sizeof(pjmedia_frame_ext) + 723 (samples_per_frame >>1) +726 (samples_per_frame << 1) + 724 727 16 * sizeof(pjmedia_frame_ext_subframe); 725 728 snd_port->put_frm_buf = (pj_uint8_t*) -
pjproject/branches/projects/aps-direct/pjsip-apps/src/pjsua/pjsua_app.c
r2452 r2454 2465 2465 /* Reset conference port attributes. */ 2466 2466 conf->info.samples_per_frame = samples_per_frame; 2467 conf->info.clock_rate = 8000;2467 conf->info.clock_rate = strm_info->param->info.clock_rate; 2468 2468 conf->info.channel_count = 1; 2469 2469 conf->info.bits_per_sample = 16; … … 2474 2474 -1, 2475 2475 -1, 2476 8000,2477 1,2476 strm_info->param->info.clock_rate, 2477 strm_info->param->info.channel_cnt, 2478 2478 samples_per_frame, 2479 2479 16,
Note: See TracChangeset
for help on using the changeset viewer.