In some cases, the number of samples (per channel) in NetEq's sync buffer could fall below the allowed minimum (5 samples for narrowband, scaling for other rates). If the number of samples extracted from the buffer was smaller than the desired number, an error is returned. However, if the decoder returns fewer samples than expected, it could happen that the sync buffer level falls under the minimum, but enough samples are extracted. This triggered an assert. With this change, the minimum level of the sync buffer is always enforced. A test is implemented to trigger the problem. It made the assert fire without this fix, but it now passes. BUG=webrtc:4840 R=minyue@webrtc.org Review URL: https://codereview.webrtc.org/1324453002 . Cr-Commit-Position: refs/heads/master@{#9828}
Revert of Fix PRESUBMIT.py after disabling CQ. (patchset #1 id:1 of https://codereview.webrtc.org/1192673003/)
Description
The idea is to make CMake build for WebRTC m130 version - for audio processing module
Languages
C++
90.3%
Java
2.9%
C
2.2%
Objective-C++
2%
Python
1.3%
Other
1%