/external/webrtc/webrtc/modules/audio_processing/test/ |
D | audio_processing_unittest.cc | 170 EXPECT_NOERR(ap->gain_control()->set_mode(GainControl::kAdaptiveDigital)); in EnableAllAPComponents() 171 EXPECT_NOERR(ap->gain_control()->Enable(true)); in EnableAllAPComponents() 178 EXPECT_NOERR(ap->gain_control()->set_mode(GainControl::kAdaptiveAnalog)); in EnableAllAPComponents() 179 EXPECT_NOERR(ap->gain_control()->set_analog_level_limits(0, 255)); in EnableAllAPComponents() 180 EXPECT_NOERR(ap->gain_control()->Enable(true)); in EnableAllAPComponents() 578 apm_->gain_control()->set_stream_analog_level(127)); in ProcessWithDefaultStreamParameters() 707 EXPECT_EQ(apm_->kNoError, apm_->gain_control()->Enable(true)); in StreamParametersTest() 713 apm_->gain_control()->set_stream_analog_level(127)); in StreamParametersTest() 726 EXPECT_EQ(apm_->kNoError, apm_->gain_control()->Enable(false)); in StreamParametersTest() 743 EXPECT_EQ(apm_->kNoError, apm_->gain_control()->Enable(true)); in StreamParametersTest() [all …]
|
D | process_test.cc | 298 ASSERT_EQ(apm->kNoError, apm->gain_control()->Enable(true)); in void_main() 301 ASSERT_EQ(apm->kNoError, apm->gain_control()->Enable(true)); in void_main() 303 apm->gain_control()->set_mode(GainControl::kAdaptiveAnalog)); in void_main() 306 ASSERT_EQ(apm->kNoError, apm->gain_control()->Enable(true)); in void_main() 308 apm->gain_control()->set_mode(GainControl::kAdaptiveDigital)); in void_main() 311 ASSERT_EQ(apm->kNoError, apm->gain_control()->Enable(true)); in void_main() 313 apm->gain_control()->set_mode(GainControl::kFixedDigital)); in void_main() 320 ASSERT_EQ(apm->kNoError, apm->gain_control()->Enable(true)); in void_main() 322 apm->gain_control()->set_target_level_dbfs(level)); in void_main() 329 ASSERT_EQ(apm->kNoError, apm->gain_control()->Enable(true)); in void_main() [all …]
|
D | debug_dump_test.cc | 322 EXPECT_NOERR(apm_->gain_control()->set_stream_analog_level(msg.level())); in OnStreamEvent() 444 apm_->gain_control()->Enable(msg.agc_enabled())); in ConfigureApm() 448 apm_->gain_control()->set_mode( in ConfigureApm() 453 apm_->gain_control()->enable_limiter(msg.agc_limiter_enabled())); in ConfigureApm() 579 GainControl* agc = generator.apm()->gain_control(); in TEST_F()
|
D | audioproc_float.cc | 120 RTC_CHECK_EQ(kNoErr, ap->gain_control()->Enable(FLAGS_agc || FLAGS_all)); in main()
|
/external/webrtc/webrtc/modules/audio_processing/ |
D | audio_processing_impl.cc | 96 explicit GainControlForNewAgc(GainControlImpl* gain_control) in GainControlForNewAgc() argument 97 : real_gain_control_(gain_control), volume_(0) {} in GainControlForNewAgc() 153 gain_control(nullptr) {} in ApmPublicSubmodules() 157 GainControlImpl* gain_control; member 241 public_submodules_->gain_control = in AudioProcessingImpl() 252 new GainControlForNewAgc(public_submodules_->gain_control)); in AudioProcessingImpl() 259 public_submodules_->gain_control); in AudioProcessingImpl() 602 public_submodules_->gain_control->ReadQueuedRenderData(); in ProcessStream() 669 public_submodules_->gain_control->ReadQueuedRenderData(); in ProcessStream() 751 msg->set_level(gain_control()->stream_analog_level()); in ProcessStreamLocked() [all …]
|
D | audio_processing_performance_unittest.cc | 512 ASSERT_EQ(apm->kNoError, apm->gain_control()->Enable(true)); in SetUp() 514 apm->gain_control()->set_mode(GainControl::kAdaptiveDigital)); in SetUp() 515 ASSERT_EQ(apm->kNoError, apm->gain_control()->Enable(true)); in SetUp() 528 ASSERT_EQ(apm->kNoError, apm->gain_control()->Enable(true)); in SetUp() 530 apm->gain_control()->set_mode(GainControl::kAdaptiveDigital)); in SetUp() 531 ASSERT_EQ(apm->kNoError, apm->gain_control()->Enable(true)); in SetUp() 542 ASSERT_EQ(apm->kNoError, apm->gain_control()->Enable(false)); in SetUp() 544 apm->gain_control()->set_mode(GainControl::kAdaptiveDigital)); in SetUp() 545 ASSERT_EQ(apm->kNoError, apm->gain_control()->Enable(false)); in SetUp()
|
D | audio_processing_impl_locking_unittest.cc | 535 ASSERT_EQ(apm_->kNoError, apm_->gain_control()->Enable(true)); in SetUp() 538 apm_->gain_control()->set_mode(GainControl::kAdaptiveDigital)); in SetUp() 539 ASSERT_EQ(apm_->kNoError, apm_->gain_control()->Enable(true)); in SetUp() 598 EXPECT_TRUE(apm_->gain_control()->is_enabled()); in Process() 599 apm_->gain_control()->stream_analog_level(); in Process()
|
D | audio_processing_impl.h | 119 GainControl* gain_control() const override;
|
D | audio_processing.gypi | 60 'agc/legacy/gain_control.h',
|
D | BUILD.gn | 50 "agc/legacy/gain_control.h",
|
/external/webrtc/webrtc/voice_engine/ |
D | voe_audio_processing_impl.cc | 182 agcMode = _shared->audio_processing()->gain_control()->mode(); in SetAgcStatus() 195 if (_shared->audio_processing()->gain_control()->set_mode(agcMode) != 0) { in SetAgcStatus() 200 if (_shared->audio_processing()->gain_control()->Enable(enable) != 0) { in SetAgcStatus() 232 enabled = _shared->audio_processing()->gain_control()->is_enabled(); in GetAgcStatus() 234 _shared->audio_processing()->gain_control()->mode(); in GetAgcStatus() 265 if (_shared->audio_processing()->gain_control()->set_target_level_dbfs( in SetAgcConfig() 272 if (_shared->audio_processing()->gain_control()->set_compression_gain_db( in SetAgcConfig() 279 if (_shared->audio_processing()->gain_control()->enable_limiter( in SetAgcConfig() 303 _shared->audio_processing()->gain_control()->target_level_dbfs(); in GetAgcConfig() 305 _shared->audio_processing()->gain_control()->compression_gain_db(); in GetAgcConfig() [all …]
|
D | channel.cc | 1151 if (rx_audioproc_->gain_control()->set_mode(kDefaultRxAgcMode) != 0) { in Init() 2658 agcMode = rx_audioproc_->gain_control()->mode(); in SetRxAgcStatus() 2673 if (rx_audioproc_->gain_control()->set_mode(agcMode) != 0) in SetRxAgcStatus() 2680 if (rx_audioproc_->gain_control()->Enable(enable) != 0) in SetRxAgcStatus() 2697 bool enable = rx_audioproc_->gain_control()->is_enabled(); in GetRxAgcStatus() 2699 rx_audioproc_->gain_control()->mode(); in GetRxAgcStatus() 2727 if (rx_audioproc_->gain_control()->set_target_level_dbfs( in SetRxAgcConfig() 2736 if (rx_audioproc_->gain_control()->set_compression_gain_db( in SetRxAgcConfig() 2745 if (rx_audioproc_->gain_control()->enable_limiter( in SetRxAgcConfig() 2761 rx_audioproc_->gain_control()->target_level_dbfs(); in GetRxAgcConfig() [all …]
|
D | voe_base_impl.cc | 354 GainControl* agc = audioproc->gain_control(); in Init()
|
D | transmit_mixer.cc | 1247 GainControl* agc = audioproc_->gain_control(); in ProcessAudio()
|
/external/webrtc/webrtc/modules/audio_conference_mixer/source/ |
D | audio_conference_mixer_impl.cc | 150 if(_limiter->gain_control()->set_mode(GainControl::kFixedDigital) != in Init() 157 if(_limiter->gain_control()->set_target_level_dbfs(7) != _limiter->kNoError) in Init() 160 if(_limiter->gain_control()->set_compression_gain_db(0) in Init() 164 if(_limiter->gain_control()->enable_limiter(true) != _limiter->kNoError) in Init() 167 if(_limiter->gain_control()->Enable(true) != _limiter->kNoError) in Init()
|
/external/webrtc/webrtc/modules/audio_processing/include/ |
D | mock_audio_processing.h | 266 virtual MockGainControl* gain_control() const { in gain_control() function
|
D | audio_processing.h | 446 virtual GainControl* gain_control() const = 0;
|
/external/webrtc/webrtc/tools/agc/ |
D | agc_harness.cc | 113 audioproc->gain_control()->Enable(true); in SetUp()
|
/external/webrtc/talk/media/webrtc/ |
D | fakewebrtcvoiceengine.h | 125 webrtc::GainControl* gain_control() const override { return NULL; } in gain_control() function
|