Changeset 2453 for pjproject/trunk/pjmedia/src/pjmedia-codec/l16.c
- Timestamp:
- Feb 13, 2009 3:33:03 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia-codec/l16.c
r2394 r2453 99 99 &l16_encode, 100 100 &l16_decode, 101 #if !PLC_DISABLED 101 102 &l16_recover 103 #else 104 NULL 105 #endif 102 106 }; 103 107 … … 129 133 unsigned clock_rate; /* Clock rate */ 130 134 135 #if !PLC_DISABLED 131 136 pj_bool_t plc_enabled; 132 #if !PLC_DISABLED133 137 pjmedia_plc *plc; 134 138 #endif … … 527 531 pjmedia_codec_param *attr ) 528 532 { 529 /* Nothing to do.. */ 530 PJ_UNUSED_ARG(codec); 531 PJ_UNUSED_ARG(attr); 533 struct l16_data *data = NULL; 534 535 PJ_ASSERT_RETURN(codec && codec->codec_data && attr, PJ_EINVAL); 536 537 data = (struct l16_data*) codec->codec_data; 538 539 data->vad_enabled = (attr->setting.vad != 0); 540 #if !PLC_DISABLED 541 data->plc_enabled = (attr->setting.plc != 0); 542 #endif 543 532 544 return PJ_SUCCESS; 533 545 } … … 548 560 549 561 data->vad_enabled = (attr->setting.vad != 0); 562 #if !PLC_DISABLED 550 563 data->plc_enabled = (attr->setting.plc != 0); 564 #endif 551 565 552 566 return PJ_SUCCESS;
Note: See TracChangeset
for help on using the changeset viewer.