文件最后提交记录最后更新时间
Fixes to support building in -std=c++20 mode. * Structs with user-declared constructors are no longer considered aggregates, so remove the declarations when possible * Types of both arguments to "==" must match to avoid "ambiguous function call" warning * Various types of math involving enums are deprecated, so replace with constexprs where necessary * ABSL_CONST_INIT must be used on definition as well as declaration * volatile memory may no longer be read from and written to by the same operator, so replace e.g. "n++" with "n = n + 1" * Replace an outdated check for no_unique_address support with __has_cpp_attribute * std::result_of(f(x)) has been removed, replace with std::invoke_result(f, x) Bug: chromium:1284275 Change-Id: I77b366ab1da7eb2c1e4c825b2714417c31ee5903 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/261221 Auto-Submit: Peter Kasting <pkasting@chromium.org> Reviewed-by: Tomas Gunnarsson <tommi@google.com> Reviewed-by: Tomas Gunnarsson <tommi@webrtc.org> Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org> Cr-Commit-Position: refs/heads/main@{#36786} 3 年前
APM: add AudioProcessingImpl::capture_::applied_input_volume(_changed) The recommended_stream_analog_level() getter is used to retrieve both the applied and the recommended input volume. This behavior is error-prone since the caller must know what is returned based on the point in the code (namely, before/after the AGC has changed the last applied input volume into a recommended level). This CL is a first step to make clarity on which input volume is handled in different parts of APM. Next in the pipeline: make recommended_stream_analog_level() a trivial getter that always returns the recommended level. Main changes: - When recommended_stream_analog_level() is called but set_stream_analog_level() is not called, APM logs an error and returns a fall-back volume (which should not be applied since, when set_stream_analog_level() is not called, no external input volume is expected to be present - When APM is used without calling the *_stream_analog_level() methods (e.g., when the caller does not provide any input volume), the recorded AEC dumps won't store Stream::applied_input_level Other changes: - Removed AudioProcessingImpl::capture_::prev_analog_mic_level - Removed redundant code in GainController2 around detecting input volume changes (already done by APM) - Adapted the audioproc_f and unpack_aecdump tools - Data dumps clean-up: the applied and the recommended input volumes are now recorded in an AGC implementation agnostic way Bug: webrtc:7494, b/241923537 Change-Id: I3cb4a731fd9f3dc19bf6ac679b7ed8c969ea283b Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/271544 Reviewed-by: Per Åhgren <peah@webrtc.org> Reviewed-by: Hanna Silen <silen@webrtc.org> Commit-Queue: Alessio Bazzica <alessiob@webrtc.org> Cr-Commit-Position: refs/heads/main@{#38054} 3 年前
Remove more traces of keyboard mic support from APM The 6-parameter Initialize method is removed. The has_keyboard parameter in the StreamConfig constructor is removed together with the underlying member and helper functions. Bug: chromium:1271981, b/217349489 Change-Id: I7259a114a395f74f735a9c06510c0fc0f0f008e3 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/250221 Reviewed-by: Sam Zackrisson <saza@google.com> Reviewed-by: Sam Zackrisson <saza@webrtc.org> Auto-Submit: Henrik Lundin <henrik.lundin@webrtc.org> Commit-Queue: Henrik Lundin <henrik.lundin@webrtc.org> Cr-Commit-Position: refs/heads/main@{#35908} 4 年前
Use backticks not vertical bars to denote variables in comments for /modules/audio_processing Bug: webrtc:12338 Change-Id: I85bff694dd2ead83c939c4d1945eff82e1296001 No-Presubmit: True Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/227161 Commit-Queue: Artem Titov <titovartem@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/master@{#34690} 4 年前
AudioFrameView: size_t -> int Bug: webrtc:7494 Change-Id: I46b1328f3d7da721e144cc3752ed4f458084cf62 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/234522 Reviewed-by: Sam Zackrisson <saza@webrtc.org> Commit-Queue: Alessio Bazzica <alessiob@webrtc.org> Cr-Commit-Position: refs/heads/main@{#35163} 4 年前
AGC2 adaptive digital controller config clean-up - Remove dry-run option - Hard-code adjacent_speech_frames_threshold and vad_reset_period_ms - Expose initial_gain_db via field trial Tested: adaptive digital controller bit-exactness verified Bug: webrtc:7494 Change-Id: I6166611f91320b6c37de3f8e553c06c2ed95b772 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/287222 Commit-Queue: Alessio Bazzica <alessiob@webrtc.org> Reviewed-by: Hanna Silen <silen@webrtc.org> Cr-Commit-Position: refs/heads/main@{#38862} 3 年前
AGC2 adaptive digital controller config clean-up - Remove dry-run option - Hard-code adjacent_speech_frames_threshold and vad_reset_period_ms - Expose initial_gain_db via field trial Tested: adaptive digital controller bit-exactness verified Bug: webrtc:7494 Change-Id: I6166611f91320b6c37de3f8e553c06c2ed95b772 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/287222 Commit-Queue: Alessio Bazzica <alessiob@webrtc.org> Reviewed-by: Hanna Silen <silen@webrtc.org> Cr-Commit-Position: refs/heads/main@{#38862} 3 年前
Use the new AudioProcessing statistics everywhere. The new interface uses optionals instead of default values, and only values that are actually used are included. To make it easy to add/remove stats in the future, the struct itself is copied around on all layers, instead of copying the values one by one. This CL also fixes a bug which caused several APM statistics to get stuck at a fixed level when there are no more receive streams (after some period where there were receive streams). Since APM doesn't know this happens, an argument was added to the GetStats call to pass this information down to APM. Bug: webrtc:8563, b/67926135 Change-Id: I96cc008353355bb520c4523f5c5379860f73ee24 Reviewed-on: https://webrtc-review.googlesource.com/25621 Commit-Queue: Ivo Creusen <ivoc@webrtc.org> Reviewed-by: Henrik Boström <hbos@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#20877}8 年前
Reland "Reland "Remove unused APM voice activity detection sub-module"" This reverts commit 09aaf6f7bcfb4da644bd86c76896a04a41f776e1. Reason for revert: downstream fixed (see https://chromium-review.googlesource.com/c/chromium/src/+/3461371) Original change's description: > Revert "Reland "Remove unused APM voice activity detection sub-module"" > > This reverts commit 54d1344d985b00d4d1580dd18057d4618c11ad1f. > > Reason for revert: Breaks chromium roll, see > https://ci.chromium.org/ui/p/chromium/builders/try/linux_chromium_tsan_rel_ng/1080583/overview > > https://chromium-review.googlesource.com/c/chromium/src/+/3461512 > > Original change's description: > > Reland "Remove unused APM voice activity detection sub-module" > > > > This reverts commit a751f167c68343f76528436defdbc61600a8d7b3. > > > > Reason for revert: dependency in a downstream project removed > > > > Original change's description: > > > Revert "Remove unused APM voice activity detection sub-module" > > > > > > This reverts commit b4e06d032e6f82a65c52ed0c5364ae9e7c0a0215. > > > > > > Reason for revert: breaking downstream projects > > > > > > Original change's description: > > > > Remove unused APM voice activity detection sub-module > > > > > > > > API changes: > > > > - webrtc::AudioProcessing::Config::VoiceDetection removed > > > > - webrtc::AudioProcessingStats::voice_detected deprecated > > > > - cricket::AudioOptions::typing_detection deprecated > > > > - webrtc::StatsReport::StatsValueName:: > > > > kStatsValueNameTypingNoiseState deprecated > > > > > > > > PSA: https://groups.google.com/g/discuss-webrtc/c/7X6uwmJarE0 > > > > > > > > Bug: webrtc:11226,webrtc:11292 > > > > Change-Id: I8d008b56708cf62961b9857ec052b59fda3b41bf > > > > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/250666 > > > > Reviewed-by: Harald Alvestrand <hta@webrtc.org> > > > > Reviewed-by: Gustaf Ullberg <gustaf@webrtc.org> > > > > Reviewed-by: Sam Zackrisson <saza@webrtc.org> > > > > Reviewed-by: Björn Terelius <terelius@webrtc.org> > > > > Commit-Queue: Alessio Bazzica <alessiob@webrtc.org> > > > > Cr-Commit-Position: refs/heads/main@{#35975} > > > > > > TBR=gustaf@webrtc.org,saza@webrtc.org,alessiob@webrtc.org,terelius@webrtc.org,hta@webrtc.org,webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com > > > > > > Change-Id: Iee01fdb874b4e0331277f3ffe60dacaabc3859a2 > > > No-Presubmit: true > > > No-Tree-Checks: true > > > No-Try: true > > > Bug: webrtc:11226,webrtc:11292 > > > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/251600 > > > Reviewed-by: Harald Alvestrand <hta@webrtc.org> > > > Reviewed-by: Gustaf Ullberg <gustaf@webrtc.org> > > > Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> > > > Cr-Commit-Position: refs/heads/main@{#35977} > > > > # Not skipping CQ checks because this is a reland. > > > > Bug: webrtc:11226,webrtc:11292 > > Change-Id: I2fcbc5fdade16bfe6a0f0a02841a33a598d4f2ad > > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/251660 > > Reviewed-by: Alessio Bazzica <alessiob@webrtc.org> > > Reviewed-by: Harald Alvestrand <hta@webrtc.org> > > Commit-Queue: Alessio Bazzica <alessiob@webrtc.org> > > Cr-Commit-Position: refs/heads/main@{#35984} > > TBR=mbonadei@webrtc.org,gustaf@webrtc.org,saza@webrtc.org,alessiob@webrtc.org,terelius@webrtc.org,hta@webrtc.org,webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com > > Change-Id: Ib308a3af2dcce85a0074ef5a4680ccec3f82712f > No-Presubmit: true > No-Tree-Checks: true > No-Try: true > Bug: webrtc:11226,webrtc:11292 > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/251688 > Reviewed-by: Henrik Boström <hbos@webrtc.org> > Bot-Commit: rubber-stamper@appspot.gserviceaccount.com <rubber-stamper@appspot.gserviceaccount.com> > Auto-Submit: Henrik Boström <hbos@webrtc.org> > Reviewed-by: Harald Alvestrand <hta@webrtc.org> > Commit-Queue: Harald Alvestrand <hta@webrtc.org> > Cr-Commit-Position: refs/heads/main@{#35990} # Not skipping CQ checks because original CL landed > 1 day ago. Bug: webrtc:11226,webrtc:11292 Change-Id: Idfda6a517027ad323caf44c526a88468e5b52b65 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/251762 Reviewed-by: Alessio Bazzica <alessiob@webrtc.org> Bot-Commit: rubber-stamper@appspot.gserviceaccount.com <rubber-stamper@appspot.gserviceaccount.com> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Reviewed-by: Sam Zackrisson <saza@webrtc.org> Commit-Queue: Alessio Bazzica <alessiob@webrtc.org> Cr-Commit-Position: refs/heads/main@{#36012} 4 年前
Remove unnecessary overload Bug: webrtc:13579 Change-Id: Ib8e9f3fb085718a140b5a6199cb75e7da22e4fe5 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/271202 Commit-Queue: Ali Tofigh <alito@webrtc.org> Reviewed-by: Ivo Creusen <ivoc@webrtc.org> Cr-Commit-Position: refs/heads/main@{#37747} 3 年前