Searched refs:GainController2 (Results 1 – 14 of 14) sorted by relevance
23 int GainController2::instance_count_ = 0;25 GainController2::GainController2() in GainController2() function in webrtc::GainController236 GainController2::~GainController2() = default;38 void GainController2::Initialize(int sample_rate_hz) { in Initialize()48 void GainController2::Process(AudioBuffer* audio) { in Process()59 void GainController2::NotifyAnalogLevel(int level) { in NotifyAnalogLevel()66 void GainController2::ApplyConfig( in ApplyConfig()67 const AudioProcessing::Config::GainController2& config) { in ApplyConfig()85 bool GainController2::Validate( in Validate()86 const AudioProcessing::Config::GainController2& config) { in Validate()[all …]
35 float RunAgc2WithConstantInput(GainController2* agc2, in RunAgc2WithConstantInput()52 AudioProcessing::Config::GainController2 CreateAgc2FixedDigitalModeConfig( in CreateAgc2FixedDigitalModeConfig()54 AudioProcessing::Config::GainController2 config; in CreateAgc2FixedDigitalModeConfig()58 EXPECT_TRUE(GainController2::Validate(config)); in CreateAgc2FixedDigitalModeConfig()62 std::unique_ptr<GainController2> CreateAgc2FixedDigitalMode( in CreateAgc2FixedDigitalMode()65 auto agc2 = std::make_unique<GainController2>(); in CreateAgc2FixedDigitalMode()71 float GainAfterProcessingFile(GainController2* gain_controller) { in GainAfterProcessingFile()107 TEST(GainController2, CreateApplyConfig) { in TEST() argument109 std::unique_ptr<GainController2> gain_controller2(new GainController2()); in TEST()112 AudioProcessing::Config::GainController2 config; in TEST()[all …]
30 class GainController2 {32 GainController2();33 ~GainController2();39 void ApplyConfig(const AudioProcessing::Config::GainController2& config);40 static bool Validate(const AudioProcessing::Config::GainController2& config);42 const AudioProcessing::Config::GainController2& config);47 AudioProcessing::Config::GainController2 config_;53 RTC_DISALLOW_COPY_AND_ASSIGN(GainController2);
609 const bool config_ok = GainController2::Validate(config_.gain_controller2); in ApplyConfig()613 << GainController2::ToString(config_.gain_controller2) in ApplyConfig()615 config_.gain_controller2 = AudioProcessing::Config::GainController2(); in ApplyConfig()1820 submodules_.gain_controller2.reset(new GainController2()); in InitializeGainController2()
378 std::unique_ptr<GainController2> gain_controller2;
23 AudioProcessing::Config::GainController2::LevelEstimator::kRms), in AdaptiveModeLevelEstimator()30 AudioProcessing::Config::GainController2::LevelEstimator level_estimator, in AdaptiveModeLevelEstimator()62 AudioProcessing::Config::GainController2::LevelEstimator; in UpdateEstimation()
29 AudioProcessing::Config::GainController2::LevelEstimator level_estimator,42 const AudioProcessing::Config::GainController2::LevelEstimator
28 const AudioProcessing::Config::GainController2& config);
29 const AudioProcessing::Config::GainController2& config) in AdaptiveAgc()
46 const AudioProcessing::Config::GainController2::LevelEstimator& level) { in GainController2LevelEstimatorToString()48 case AudioProcessing::Config::GainController2::LevelEstimator::kRms: in GainController2LevelEstimatorToString()50 case AudioProcessing::Config::GainController2::LevelEstimator::kPeak: in GainController2LevelEstimatorToString()
339 struct GainController2 { struct
135 ? webrtc::AudioProcessing::Config::GainController2::LevelEstimator:: in CreateApm()137 : webrtc::AudioProcessing::Config::GainController2::LevelEstimator:: in CreateApm()
313 AudioProcessing::Config::GainController2::LevelEstimator316 return AudioProcessing::Config::GainController2::LevelEstimator::kRms; in MapAgc2AdaptiveLevelEstimator()319 return AudioProcessing::Config::GainController2::LevelEstimator::kPeak; in MapAgc2AdaptiveLevelEstimator()
118 AudioProcessing::Config::GainController2::LevelEstimator