Revert "APM: log both applied and recommended input volume stats"
This reverts commit 8d7273357d92fab881561d886ce8dfe94e6e2238. Reason for revert: revert needed to land https://webrtc-review.googlesource.com/c/src/+/280600 Original change's description: > APM: log both applied and recommended input volume stats > > This CL replaces the existing `WebRTC.Audio.ApmAnalogGain.*` stats > with `WebRTC.Audio.Apm.AppliedInputVolume.*` and adds the > `WebRTC.Audio.Apm.RecommendedInputVolume.*` stats. > > Bug: webrtc:7494 > Change-Id: I70be710d20b1589fc814cbce3d3329ac1500686f > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/280220 > Reviewed-by: Hanna Silen <silen@webrtc.org> > Commit-Queue: Alessio Bazzica <alessiob@webrtc.org> > Cr-Commit-Position: refs/heads/main@{#38468} Bug: webrtc:7494 Change-Id: I4a2acfd5a983d9397932b2879cfa057deaf0eb2b No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/280581 Commit-Queue: Alessio Bazzica <alessiob@webrtc.org> Auto-Submit: Alessio Bazzica <alessiob@webrtc.org> Bot-Commit: rubber-stamper@appspot.gserviceaccount.com <rubber-stamper@appspot.gserviceaccount.com> Cr-Commit-Position: refs/heads/main@{#38476}
This commit is contained in:

committed by
WebRTC LUCI CQ

parent
137162e16e
commit
35b3c63ba4
@ -291,11 +291,7 @@ AudioProcessingImpl::AudioProcessingImpl(
|
||||
MinimizeProcessingForUnusedOutput(),
|
||||
field_trial::IsEnabled("WebRTC-TransientSuppressorForcedOff")),
|
||||
capture_(),
|
||||
capture_nonlocked_(),
|
||||
applied_input_volume_stats_reporter_(
|
||||
InputVolumeStatsReporter::InputVolumeType::kApplied),
|
||||
recommended_input_volume_stats_reporter_(
|
||||
InputVolumeStatsReporter::InputVolumeType::kRecommended) {
|
||||
capture_nonlocked_() {
|
||||
RTC_LOG(LS_INFO) << "Injected APM submodules:"
|
||||
"\nEcho control factory: "
|
||||
<< !!echo_control_factory_
|
||||
@ -1365,10 +1361,6 @@ int AudioProcessingImpl::ProcessCaptureStreamLocked() {
|
||||
stats_reporter_.UpdateStatistics(capture_.stats);
|
||||
|
||||
UpdateRecommendedInputVolumeLocked();
|
||||
if (capture_.recommended_input_volume.has_value()) {
|
||||
recommended_input_volume_stats_reporter_.UpdateStatistics(
|
||||
*capture_.recommended_input_volume);
|
||||
}
|
||||
|
||||
if (submodules_.capture_levels_adjuster) {
|
||||
submodules_.capture_levels_adjuster->ApplyPostLevelAdjustment(
|
||||
|
Reference in New Issue
Block a user