DescriptionNetEq: Fix a negative shift value
In some rare occations (very low energy signal), a shift value happened
to be negative. This is now fixed by using the WEBRTC_SPL_SHIFT_W32,
which in essence checks the sign of the number of shifts and performs a
right or left shift accordingly.
The fix reverts to how the code was written in old NetEq; see
https://chromium.googlesource.com/external/webrtc/+/4d363ae305fa975e7f3ad2a5ca5dbe5e3f101f82/webrtc/modules/audio_coding/neteq/normal.c#165.
BUG=webrtc:5490
Committed: https://crrev.com/6608d9a1aa2b67d320aba0193b37271605aa7786
Cr-Commit-Position: refs/heads/master@{#11546}
Patch Set 1 #Patch Set 2 : Updating checksums for win_x64 #Patch Set 3 : Updating checksums for android and android64 #Patch Set 4 : Update neteq4_universal_ref_android.pcm #
Messages
Total messages: 19 (7 generated)
|