Home
last modified time | relevance | path

Searched refs:GainControl (Results 1 – 21 of 21) sorted by relevance

/external/webrtc/webrtc/modules/audio_processing/agc/
Dagc_manager_direct.h21 class GainControl; variable
45 AgcManagerDirect(GainControl* gctrl,
51 GainControl* gctrl,
85 GainControl* gctrl_;
Dagc_manager_direct.cc114 AgcManagerDirect::AgcManagerDirect(GainControl* gctrl, in AgcManagerDirect()
136 GainControl* gctrl, in AgcManagerDirect()
170 if (gctrl_->set_mode(GainControl::kFixedDigital) != 0) { in Initialize()
Dagc_manager_direct_unittest.cc75 EXPECT_CALL(gctrl_, set_mode(GainControl::kFixedDigital)); in ExpectInitialize()
/external/webrtc/webrtc/voice_engine/
Dvoice_engine_defines.h62 const GainControl::Mode kDefaultAgcMode =
64 GainControl::kAdaptiveDigital;
66 GainControl::kAdaptiveAnalog;
74 const GainControl::Mode kDefaultRxAgcMode = GainControl::kAdaptiveDigital;
Dvoe_audio_processing_impl.cc176 GainControl::Mode agcMode = kDefaultAgcMode; in SetAgcStatus()
185 agcMode = GainControl::kFixedDigital; in SetAgcStatus()
188 agcMode = GainControl::kAdaptiveAnalog; in SetAgcStatus()
191 agcMode = GainControl::kAdaptiveDigital; in SetAgcStatus()
206 if (agcMode != GainControl::kFixedDigital) { in SetAgcStatus()
233 GainControl::Mode agcMode = in GetAgcStatus()
237 case GainControl::kFixedDigital: in GetAgcStatus()
240 case GainControl::kAdaptiveAnalog: in GetAgcStatus()
243 case GainControl::kAdaptiveDigital: in GetAgcStatus()
Dvoe_base_impl.cc354 GainControl* agc = audioproc->gain_control(); in Init()
372 agc->mode() == GainControl::kAdaptiveAnalog && agc->is_enabled(); in Init()
Dchannel.cc2652 GainControl::Mode agcMode = kDefaultRxAgcMode; in SetRxAgcStatus()
2661 agcMode = GainControl::kFixedDigital; in SetRxAgcStatus()
2664 agcMode =GainControl::kAdaptiveDigital; in SetRxAgcStatus()
2698 GainControl::Mode agcMode = in GetRxAgcStatus()
2705 case GainControl::kFixedDigital: in GetRxAgcStatus()
2708 case GainControl::kAdaptiveDigital: in GetRxAgcStatus()
Dtransmit_mixer.cc1247 GainControl* agc = audioproc_->gain_control(); in ProcessAudio()
/external/webrtc/webrtc/modules/audio_processing/
Dgain_control_impl.cc23 int16_t MapSetting(GainControl::Mode mode) { in MapSetting()
25 case GainControl::kAdaptiveAnalog: in MapSetting()
27 case GainControl::kAdaptiveDigital: in MapSetting()
29 case GainControl::kFixedDigital: in MapSetting()
279 GainControl::Mode GainControlImpl::mode() const { in mode()
Dgain_control_impl.h27 class GainControlImpl : public GainControl,
Daudio_processing_performance_unittest.cc514 apm->gain_control()->set_mode(GainControl::kAdaptiveDigital)); in SetUp()
530 apm->gain_control()->set_mode(GainControl::kAdaptiveDigital)); in SetUp()
544 apm->gain_control()->set_mode(GainControl::kAdaptiveDigital)); in SetUp()
Daudio_processing_impl.cc94 class GainControlForNewAgc : public GainControl, public VolumeCallbacks {
110 Mode mode() const override { return GainControl::kAdaptiveAnalog; } in mode()
145 GainControl* real_gain_control_;
1156 GainControl* AudioProcessingImpl::gain_control() const { in gain_control()
Daudio_processing_impl.h119 GainControl* gain_control() const override;
Daudio_processing_impl_locking_unittest.cc538 apm_->gain_control()->set_mode(GainControl::kAdaptiveDigital)); in SetUp()
/external/webrtc/webrtc/modules/audio_processing/include/
Daudio_processing.h42 class GainControl; variable
446 virtual GainControl* gain_control() const = 0;
763 class GainControl {
847 virtual ~GainControl() {} in ~GainControl()
Dmock_audio_processing.h77 class MockGainControl : public GainControl {
/external/webrtc/webrtc/modules/audio_processing/test/
Dprocess_test.cc303 apm->gain_control()->set_mode(GainControl::kAdaptiveAnalog)); in void_main()
308 apm->gain_control()->set_mode(GainControl::kAdaptiveDigital)); in void_main()
313 apm->gain_control()->set_mode(GainControl::kFixedDigital)); in void_main()
976 apm->gain_control()->mode() == GainControl::kAdaptiveAnalog) { in void_main()
1024 if (apm->gain_control()->mode() != GainControl::kAdaptiveAnalog) { in void_main()
Daudio_processing_unittest.cc170 EXPECT_NOERR(ap->gain_control()->set_mode(GainControl::kAdaptiveDigital)); in EnableAllAPComponents()
178 EXPECT_NOERR(ap->gain_control()->set_mode(GainControl::kAdaptiveAnalog)); in EnableAllAPComponents()
1122 TEST_F(ApmTest, GainControl) { in TEST_F() argument
1128 GainControl::Mode mode[] = { in TEST_F()
1129 GainControl::kAdaptiveAnalog, in TEST_F()
1130 GainControl::kAdaptiveDigital, in TEST_F()
1131 GainControl::kFixedDigital in TEST_F()
1221 apm_->gain_control()->set_mode(GainControl::kAdaptiveAnalog)); in RunQuantizedVolumeDoesNotGetStuckTest()
1252 apm_->gain_control()->set_mode(GainControl::kAdaptiveAnalog)); in RunManualVolumeChangeIsPossibleTest()
Ddebug_dump_test.cc449 static_cast<GainControl::Mode>(msg.agc_mode()))); in ConfigureApm()
579 GainControl* agc = generator.apm()->gain_control(); in TEST_F()
/external/webrtc/webrtc/modules/audio_conference_mixer/source/
Daudio_conference_mixer_impl.cc150 if(_limiter->gain_control()->set_mode(GainControl::kFixedDigital) != in Init()
/external/webrtc/talk/media/webrtc/
Dfakewebrtcvoiceengine.h125 webrtc::GainControl* gain_control() const override { return NULL; } in gain_control()