commit | 3c4ef29140fb1a5e488899e1905a62277f0d9858 | [log] [tgz] |
---|---|---|
author | Henrik Lundin <henrik.lundin@webrtc.org> | Mon Aug 31 08:18:28 2015 |
committer | Henrik Lundin <henrik.lundin@webrtc.org> | Mon Aug 31 08:18:45 2015 |
tree | 19455ff2830c528f9f1d66ca60b0d8e36a9f2825 | |
parent | 3a14bf311f366602ebc72314ca8906be61a70da4 [diff] |
NetEq: Allow negative shift in BackgroundNoise::SaveParameters This change allows a shift factor to be negative. This is the way it was in the old (NetEq3) code; see https://chromium.googlesource.com/external/webrtc/+/4d363ae305fa975e7f3ad2a5ca5dbe5e3f101f82/webrtc/modules/audio_coding/neteq/bgn_update.c, lines 183-188. Some input signals can lead to negative shifts, and would then trigger an assert. The assert is now removed. BUG=webrtc:4840 R=minyue@webrtc.org Review URL: https://codereview.webrtc.org/1315833003 . Cr-Commit-Position: refs/heads/master@{#9816}