AGC2: Remove unused parameters
- `NoiseEstimator` and `LevelEstimator` enums - `vad_probability_attack` - `level_estimator_adjacent_speech_frames_threshold` - `use_saturation_protector` - `gain_applier_adjacent_speech_frames_threshold` - `initial_saturation_margin_db` - `extra_saturation_margin_db` Bug: webrtc:7494 Change-Id: I12e40c8efe2d2126d7597ec18a78cf9d5d39baf2 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/232903 Reviewed-by: Sam Zackrisson <saza@webrtc.org> Reviewed-by: Jesus de Vicente Pena <devicentepena@webrtc.org> Commit-Queue: Alessio Bazzica <alessiob@webrtc.org> Cr-Commit-Position: refs/heads/main@{#35096}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
f75f9c2b29
commit
1ac4f2a29e
@ -356,9 +356,6 @@ class RTC_EXPORT AudioProcessing : public rtc::RefCountInterface {
|
||||
return !(*this == rhs);
|
||||
}
|
||||
|
||||
// TODO(crbug.com/webrtc/7494): Remove `LevelEstimator`.
|
||||
enum LevelEstimator { kRms, kPeak };
|
||||
enum NoiseEstimator { kStationaryNoise, kNoiseFloor };
|
||||
bool enabled = false;
|
||||
struct FixedDigital {
|
||||
float gain_db = 0.0f;
|
||||
@ -379,15 +376,6 @@ class RTC_EXPORT AudioProcessing : public rtc::RefCountInterface {
|
||||
bool sse2_allowed = true;
|
||||
bool avx2_allowed = true;
|
||||
bool neon_allowed = true;
|
||||
// TODO(crbug.com/webrtc/7494): Remove deprecated settings below.
|
||||
NoiseEstimator noise_estimator = kNoiseFloor;
|
||||
float vad_probability_attack = 1.0f;
|
||||
LevelEstimator level_estimator = kRms;
|
||||
int level_estimator_adjacent_speech_frames_threshold = 12;
|
||||
bool use_saturation_protector = true;
|
||||
float initial_saturation_margin_db = 25.0f;
|
||||
float extra_saturation_margin_db = 5.0f;
|
||||
int gain_applier_adjacent_speech_frames_threshold = 12;
|
||||
} adaptive_digital;
|
||||
} gain_controller2;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user