DescriptionNetEq: 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
Committed: https://chromium.googlesource.com/external/webrtc/+/3c4ef29140fb1a5e488899e1905a62277f0d9858
Patch Set 1 #
Messages
Total messages: 8 (3 generated)
|