Changeset 5374
- Timestamp:
- Jul 1, 2016 8:22:14 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia-codec/opus.c
r5371 r5374 385 385 } 386 386 param->info.clock_rate = opus_cfg.sample_rate = cfg->sample_rate; 387 param->info.max_bps = opus_cfg.sample_rate * 2; 387 388 388 389 /* Set channel count */ … … 464 465 attr->info.channel_cnt = opus_cfg.channel_cnt; 465 466 attr->info.avg_bps = opus_cfg.bit_rate; 466 attr->info.max_bps = opus_cfg. bit_rate * 2;467 attr->info.max_bps = opus_cfg.sample_rate * 2; 467 468 attr->info.frm_ptime = 20; 468 469 attr->setting.frm_per_pkt = 1;
Note: See TracChangeset
for help on using the changeset viewer.