| Index: webrtc/common_audio/signal_processing/levinson_durbin.c
|
| diff --git a/webrtc/common_audio/signal_processing/levinson_durbin.c b/webrtc/common_audio/signal_processing/levinson_durbin.c
|
| index 61f3721977ccb2fc16def78694aef13c0cbd99b6..c8e58ba4555e4972296dacf7044e5cb8b51ff976 100644
|
| --- a/webrtc/common_audio/signal_processing/levinson_durbin.c
|
| +++ b/webrtc/common_audio/signal_processing/levinson_durbin.c
|
| @@ -75,7 +75,7 @@ int16_t WebRtcSpl_LevinsonDurbin(const int32_t* R, int16_t* A, int16_t* K,
|
|
|
| // Alpha = R[0] * (1-K^2)
|
|
|
| - temp1W32 = ((K_hi * K_low >> 14) + K_hi * K_hi) << 1; // = k^2 in Q31
|
| + temp1W32 = ((K_hi * K_low >> 14) + K_hi * K_hi) * 2; // = k^2 in Q31
|
|
|
| temp1W32 = WEBRTC_SPL_ABS_W32(temp1W32); // Guard against <0
|
| temp1W32 = (int32_t)0x7fffffffL - temp1W32; // temp1W32 = (1 - K[0]*K[0]) in Q31
|
|
|