AGC2: AdaptiveAgc ctor with sample rate and # of channels
The class has also been renamed to better reflect its purpose. Bug: webrtc:7494 Change-Id: I223a364ab4f8b8a5fef765848bf05675d045cefd Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/236343 Reviewed-by: Hanna Silen <silen@webrtc.org> Commit-Queue: Alessio Bazzica <alessiob@webrtc.org> Cr-Commit-Position: refs/heads/main@{#35277}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
ec19d5ea79
commit
2fa4618a3b
@ -14,7 +14,7 @@
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#include "modules/audio_processing/agc2/adaptive_agc.h"
|
||||
#include "modules/audio_processing/agc2/adaptive_digital_gain_controller.h"
|
||||
#include "modules/audio_processing/agc2/cpu_features.h"
|
||||
#include "modules/audio_processing/agc2/gain_applier.h"
|
||||
#include "modules/audio_processing/agc2/limiter.h"
|
||||
@ -57,7 +57,7 @@ class GainController2 {
|
||||
ApmDataDumper data_dumper_;
|
||||
GainApplier fixed_gain_applier_;
|
||||
std::unique_ptr<VoiceActivityDetectorWrapper> vad_;
|
||||
std::unique_ptr<AdaptiveAgc> adaptive_digital_controller_;
|
||||
std::unique_ptr<AdaptiveDigitalGainController> adaptive_digital_controller_;
|
||||
Limiter limiter_;
|
||||
int calls_since_last_limiter_log_;
|
||||
int analog_level_;
|
||||
|
||||
Reference in New Issue
Block a user