Changeset 4814 for pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app.c
- Timestamp:
- Apr 10, 2014 1:56:40 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app.c
r4813 r4814 2074 2074 /* Create stereo-mono splitter/combiner */ 2075 2075 status = pjmedia_splitcomb_create(app_config.pool, 2076 conf->info.clock_rate/* clock rate */,2077 2078 2 * conf->info.samples_per_frame,2079 conf->info.bits_per_sample,2080 2081 2076 PJMEDIA_PIA_SRATE(&conf->info) /* clock rate */, 2077 2 /* stereo */, 2078 2 * PJMEDIA_PIA_SPF(&conf->info), 2079 PJMEDIA_PIA_BITS(&conf->info), 2080 0 /* options */, 2081 &app_config.sc); 2082 2082 pj_assert(status == PJ_SUCCESS); 2083 2083 … … 2105 2105 /* Create sound device */ 2106 2106 status = pjmedia_snd_port_create(app_config.pool, -1, -1, 2107 conf->info.clock_rate,2107 PJMEDIA_PIA_SRATE(&conf->info), 2108 2108 2 /* stereo */, 2109 2 * conf->info.samples_per_frame,2110 conf->info.bits_per_sample,2109 2 * PJMEDIA_PIA_SPF(&conf->info), 2110 PJMEDIA_PIA_BITS(&conf->info), 2111 2111 0, &app_config.snd); 2112 2112 2113 pj_assert(status == PJ_SUCCESS); 2113 2114
Note: See TracChangeset
for help on using the changeset viewer.