AEC3: Fix render buffer headroom calculation on underruns The read and write pointers can meet. Currently, this causes an overflow in the headroom calculation (headroom == buffer size) which offsets the buffers needlessly. This causes a loss of transparency when using the neural residual echo estimation module. Tested: 1. audioproc_f is bitexact on a large set of aecdumps, without ML-REE 2. I see improved transparency on a dump with underruns, with ML-REE Bug: b:487988676, webrtc:442444736 Change-Id: I902a20f28c603f85a1c10ae5b525788e3a54c285 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/456301 Commit-Queue: Sam Zackrisson <saza@webrtc.org> Reviewed-by: Jesus de Vicente Pena <devicentepena@webrtc.org> Cr-Commit-Position: refs/heads/main@{#47153}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others.
See here for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.