Home
last modified time | relevance | path

Searched refs:gain_control (Results 1 – 19 of 19) sorted by relevance

/external/webrtc/webrtc/modules/audio_processing/test/
Daudio_processing_unittest.cc170 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 …]
Dprocess_test.cc298 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 …]
Ddebug_dump_test.cc322 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()
Daudioproc_float.cc120 RTC_CHECK_EQ(kNoErr, ap->gain_control()->Enable(FLAGS_agc || FLAGS_all)); in main()
/external/webrtc/webrtc/modules/audio_processing/
Daudio_processing_impl.cc96 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 …]
Daudio_processing_performance_unittest.cc512 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()
Daudio_processing_impl_locking_unittest.cc535 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()
Daudio_processing_impl.h119 GainControl* gain_control() const override;
Daudio_processing.gypi60 'agc/legacy/gain_control.h',
DBUILD.gn50 "agc/legacy/gain_control.h",
/external/webrtc/webrtc/voice_engine/
Dvoe_audio_processing_impl.cc182 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 …]
Dchannel.cc1151 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 …]
Dvoe_base_impl.cc354 GainControl* agc = audioproc->gain_control(); in Init()
Dtransmit_mixer.cc1247 GainControl* agc = audioproc_->gain_control(); in ProcessAudio()
/external/webrtc/webrtc/modules/audio_conference_mixer/source/
Daudio_conference_mixer_impl.cc150 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/tools/agc/
Dagc_harness.cc113 audioproc->gain_control()->Enable(true); in SetUp()
/external/webrtc/webrtc/modules/audio_processing/include/
Dmock_audio_processing.h266 virtual MockGainControl* gain_control() const { in gain_control() function
Daudio_processing.h446 virtual GainControl* gain_control() const = 0;
/external/webrtc/talk/media/webrtc/
Dfakewebrtcvoiceengine.h125 webrtc::GainControl* gain_control() const override { return NULL; } in gain_control() function