Changeset 2385 for pjproject/trunk
- Timestamp:
- Dec 18, 2008 4:48:43 PM (16 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia-codec/g722.c
r2298 r2385 627 627 #if !PLC_DISABLED 628 628 if (g722_data->plc_enabled) 629 pjmedia_plc_save(g722_data->plc, output->buf);629 pjmedia_plc_save(g722_data->plc, (pj_int16_t*)output->buf); 630 630 #endif 631 631 … … 643 643 struct pjmedia_frame *output) 644 644 { 645 struct g722_data *g722_data = codec->codec_data;645 struct g722_data *g722_data = (struct g722_data*)codec->codec_data; 646 646 647 647 PJ_ASSERT_RETURN(g722_data->plc_enabled, PJ_EINVALIDOP); … … 650 650 PJMEDIA_CODEC_EPCMTOOSHORT); 651 651 652 pjmedia_plc_generate(g722_data->plc, output->buf);652 pjmedia_plc_generate(g722_data->plc, (pj_int16_t*)output->buf); 653 653 654 654 output->size = SAMPLES_PER_FRAME * 2; -
pjproject/trunk/pjmedia/src/pjmedia/echo_suppress.c
r2329 r2385 122 122 ST_DOUBLETALK, 123 123 ST_REM_TALK 124 } talk_state ;124 } talk_state_t; 125 125 126 126 const char *state_names[] = … … 226 226 227 227 pj_bool_t learning; /* Are we still learning yet? */ 228 talk_state 228 talk_state_t talk_state; /* Current talking state */ 229 229 int tail_index; /* Echo location, -1 if not found */ 230 230 … … 392 392 393 393 /* Set state */ 394 static void echo_supp_set_state(echo_supp *ec, enum talk_statestate,394 static void echo_supp_set_state(echo_supp *ec, talk_state_t state, 395 395 unsigned level) 396 396 { -
pjproject/trunk/pjmedia/src/test/main.c
r2344 r2385 44 44 return rc; 45 45 } 46 46 47 -
pjproject/trunk/pjmedia/src/test/mips_test.c
r2212 r2385 420 420 unsigned c; 421 421 422 buf = pj_pool_alloc(pool, sizeof(ref_signal)*channel_count); 422 buf = (pj_int16_t*) 423 pj_pool_alloc(pool, sizeof(ref_signal)*channel_count); 423 424 for (c=0; c<channel_count; ++c) { 424 425 unsigned i; -
pjproject/trunk/pjsip/src/pjsip-ua/sip_inv.c
r2380 r2385 2069 2069 2070 2070 /* Set target */ 2071 tdata->msg->line.req.uri = 2071 tdata->msg->line.req.uri = (pjsip_uri*) 2072 2072 pjsip_uri_clone(tdata->pool, inv->dlg->target_set.current->uri); 2073 2073 -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_pres.c
r2379 r2385 138 138 pjsua_buddy_info *info) 139 139 { 140 inttotal=0;140 unsigned total=0; 141 141 pjsua_buddy *buddy; 142 142
Note: See TracChangeset
for help on using the changeset viewer.