WebRtcIlbcfix_EnhancerInterface: Let input array be const
NOTRY=true BUG=chromium:617124 Review-Url: https://codereview.webrtc.org/2297873003 Cr-Commit-Position: refs/heads/master@{#14029}
This commit is contained in:
@ -30,11 +30,11 @@
|
||||
* interface for enhancer
|
||||
*---------------------------------------------------------------*/
|
||||
|
||||
size_t WebRtcIlbcfix_EnhancerInterface( /* (o) Estimated lag in end of in[] */
|
||||
int16_t *out, /* (o) enhanced signal */
|
||||
int16_t *in, /* (i) unenhanced signal */
|
||||
IlbcDecoder *iLBCdec_inst /* (i) buffers etc */
|
||||
){
|
||||
size_t // (o) Estimated lag in end of in[]
|
||||
WebRtcIlbcfix_EnhancerInterface(
|
||||
int16_t* out, // (o) enhanced signal
|
||||
const int16_t* in, // (i) unenhanced signal
|
||||
IlbcDecoder* iLBCdec_inst) { // (i) buffers etc
|
||||
size_t iblock;
|
||||
size_t lag=20, tlag=20;
|
||||
size_t inLen=iLBCdec_inst->blockl+120;
|
||||
@ -54,7 +54,7 @@ size_t WebRtcIlbcfix_EnhancerInterface( /* (o) Estimated lag in end of in[] */
|
||||
int16_t *tmpW16ptr;
|
||||
size_t startPos;
|
||||
int16_t *plc_pred;
|
||||
int16_t *target, *regressor;
|
||||
const int16_t *target, *regressor;
|
||||
int16_t max16;
|
||||
int shifts;
|
||||
int32_t ener;
|
||||
|
||||
Reference in New Issue
Block a user