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}
This commit is contained in:

committed by
WebRTC LUCI CQ

parent
5ae9b260ff
commit
1db0a261ca
@ -39,7 +39,6 @@
|
||||
#include "modules/audio_processing/render_queue_item_verifier.h"
|
||||
#include "modules/audio_processing/rms_level.h"
|
||||
#include "modules/audio_processing/transient/transient_suppressor.h"
|
||||
#include "modules/audio_processing/voice_detection.h"
|
||||
#include "rtc_base/gtest_prod_util.h"
|
||||
#include "rtc_base/ignore_wundef.h"
|
||||
#include "rtc_base/swap_queue.h"
|
||||
@ -208,7 +207,6 @@ class AudioProcessingImpl : public AudioProcessing {
|
||||
bool gain_controller2_enabled,
|
||||
bool gain_adjustment_enabled,
|
||||
bool echo_controller_enabled,
|
||||
bool voice_detector_enabled,
|
||||
bool transient_suppressor_enabled);
|
||||
bool CaptureMultiBandSubModulesActive() const;
|
||||
bool CaptureMultiBandProcessingPresent() const;
|
||||
@ -231,7 +229,6 @@ class AudioProcessingImpl : public AudioProcessing {
|
||||
bool gain_controller2_enabled_ = false;
|
||||
bool gain_adjustment_enabled_ = false;
|
||||
bool echo_controller_enabled_ = false;
|
||||
bool voice_detector_enabled_ = false;
|
||||
bool transient_suppressor_enabled_ = false;
|
||||
bool first_update_ = true;
|
||||
};
|
||||
@ -267,7 +264,6 @@ class AudioProcessingImpl : public AudioProcessing {
|
||||
// already acquired.
|
||||
void InitializeHighPassFilter(bool forced_reset)
|
||||
RTC_EXCLUSIVE_LOCKS_REQUIRED(mutex_capture_);
|
||||
void InitializeVoiceDetector() RTC_EXCLUSIVE_LOCKS_REQUIRED(mutex_capture_);
|
||||
void InitializeGainController1() RTC_EXCLUSIVE_LOCKS_REQUIRED(mutex_capture_);
|
||||
void InitializeTransientSuppressor()
|
||||
RTC_EXCLUSIVE_LOCKS_REQUIRED(mutex_capture_);
|
||||
@ -400,7 +396,6 @@ class AudioProcessingImpl : public AudioProcessing {
|
||||
std::unique_ptr<EchoControlMobileImpl> echo_control_mobile;
|
||||
std::unique_ptr<NoiseSuppressor> noise_suppressor;
|
||||
std::unique_ptr<TransientSuppressor> transient_suppressor;
|
||||
std::unique_ptr<VoiceDetection> voice_detector;
|
||||
std::unique_ptr<CaptureLevelsAdjuster> capture_levels_adjuster;
|
||||
} submodules_;
|
||||
|
||||
|
Reference in New Issue
Block a user