commit | 597a2ba41aaa0b7ce09c8e0db94060cd6af7a52d | [log] [tgz] |
---|---|---|
author | Hanna Silen <silen@webrtc.org> | Wed Dec 14 11:48:37 2022 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Dec 14 13:05:37 2022 |
tree | 3d165fb71e10d08c6a1c21dc774a8be83efb8b52 | |
parent | c0d44d9d6369968bcb2371640ad65b4589d20b33 [diff] |
AGC2: Return the recommended volume from RecommendInputVolume() In InputVolumeController, rename AnalyzePreProcess() and Process() to reflect their use and replace the use of the getter recommended_input_volume() with an optional return value from the latter one. The added return value carries the recommended input volume if the call sequence follows the API contract. Make the member applied_input_volume_ optional. Restrict the use of the getter recommended_input_volume() for test use. Add a method capture_output_used() for test use. In GainController2, store the output of InputVolumeController::Process() in a new member variable that's updated in Analyze() and Process(). Use a trivial getter to read the value in APM. Bug: webrtc:7494 Change-Id: Ifcfb466c4f558be560eb6d2f45410d04adb7e2ad Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/287862 Reviewed-by: Alessio Bazzica <alessiob@webrtc.org> Commit-Queue: Hanna Silen <silen@webrtc.org> Cr-Commit-Position: refs/heads/main@{#38889}
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.