Changeset 1898 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
- Timestamp:
- Mar 29, 2008 12:24:20 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
r1884 r1898 170 170 * reference. 171 171 */ 172 pjsua_var.mconf_cfg.channel_count = 1;172 pjsua_var.mconf_cfg.channel_count = pjsua_var.media_cfg.channel_count; 173 173 pjsua_var.mconf_cfg.bits_per_sample = 16; 174 174 pjsua_var.mconf_cfg.samples_per_frame = pjsua_var.media_cfg.clock_rate * … … 1835 1835 status = pjmedia_snd_port_create(pjsua_var.pool, capture_dev, 1836 1836 playback_dev, 1837 clock_rates[i], 1, 1838 clock_rates[i]/fps, 1837 clock_rates[i], 1838 pjsua_var.media_cfg.channel_count, 1839 clock_rates[i]/fps * 1840 pjsua_var.media_cfg.channel_count, 1839 1841 16, 0, &pjsua_var.snd_port); 1840 1842
Note: See TracChangeset
for help on using the changeset viewer.