Home
last modified time | relevance | path

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

/external/webrtc/src/modules/audio_processing/test/
Dunit_test.cc275 ap->gain_control()->Enable(true); in DeadlockProc()
293 ap->gain_control()->set_stream_analog_level(0); in DeadlockProc()
303 ap->gain_control()->stream_analog_level(); in DeadlockProc()
357 EXPECT_EQ(apm_->kNoError, apm_->gain_control()->Enable(true)); in TEST_F()
362 apm_->gain_control()->set_stream_analog_level(127)); in TEST_F()
375 EXPECT_EQ(apm_->kNoError, apm_->gain_control()->Enable(false)); in TEST_F()
390 EXPECT_EQ(apm_->kNoError, apm_->gain_control()->Enable(true)); in TEST_F()
396 apm_->gain_control()->set_stream_analog_level(127)); in TEST_F()
398 EXPECT_EQ(apm_->kNoError, apm_->gain_control()->Enable(false)); in TEST_F()
412 EXPECT_EQ(apm_->kNoError, apm_->gain_control()->Enable(true)); in TEST_F()
[all …]
Dprocess_test.cc268 ASSERT_EQ(apm->kNoError, apm->gain_control()->Enable(true)); in void_main()
271 ASSERT_EQ(apm->kNoError, apm->gain_control()->Enable(true)); in void_main()
273 apm->gain_control()->set_mode(GainControl::kAdaptiveAnalog)); in void_main()
276 ASSERT_EQ(apm->kNoError, apm->gain_control()->Enable(true)); in void_main()
278 apm->gain_control()->set_mode(GainControl::kAdaptiveDigital)); in void_main()
281 ASSERT_EQ(apm->kNoError, apm->gain_control()->Enable(true)); in void_main()
283 apm->gain_control()->set_mode(GainControl::kFixedDigital)); in void_main()
290 ASSERT_EQ(apm->kNoError, apm->gain_control()->Enable(true)); in void_main()
292 apm->gain_control()->set_target_level_dbfs(level)); in void_main()
299 ASSERT_EQ(apm->kNoError, apm->gain_control()->Enable(true)); in void_main()
[all …]
/external/chromium_org/third_party/webrtc/modules/audio_processing/test/
Daudio_processing_unittest.cc161 EXPECT_NOERR(ap->gain_control()->set_mode(GainControl::kAdaptiveDigital)); in EnableAllAPComponents()
162 EXPECT_NOERR(ap->gain_control()->Enable(true)); in EnableAllAPComponents()
169 EXPECT_NOERR(ap->gain_control()->set_mode(GainControl::kAdaptiveAnalog)); in EnableAllAPComponents()
170 EXPECT_NOERR(ap->gain_control()->set_analog_level_limits(0, 255)); in EnableAllAPComponents()
171 EXPECT_NOERR(ap->gain_control()->Enable(true)); in EnableAllAPComponents()
508 apm_->gain_control()->set_stream_analog_level(127)); in ProcessWithDefaultStreamParameters()
628 EXPECT_EQ(apm_->kNoError, apm_->gain_control()->Enable(true)); in StreamParametersTest()
634 apm_->gain_control()->set_stream_analog_level(127)); in StreamParametersTest()
647 EXPECT_EQ(apm_->kNoError, apm_->gain_control()->Enable(false)); in StreamParametersTest()
664 EXPECT_EQ(apm_->kNoError, apm_->gain_control()->Enable(true)); in StreamParametersTest()
[all …]
Dprocess_test.cc296 ASSERT_EQ(apm->kNoError, apm->gain_control()->Enable(true)); in void_main()
299 ASSERT_EQ(apm->kNoError, apm->gain_control()->Enable(true)); in void_main()
301 apm->gain_control()->set_mode(GainControl::kAdaptiveAnalog)); in void_main()
304 ASSERT_EQ(apm->kNoError, apm->gain_control()->Enable(true)); in void_main()
306 apm->gain_control()->set_mode(GainControl::kAdaptiveDigital)); in void_main()
309 ASSERT_EQ(apm->kNoError, apm->gain_control()->Enable(true)); in void_main()
311 apm->gain_control()->set_mode(GainControl::kFixedDigital)); in void_main()
318 ASSERT_EQ(apm->kNoError, apm->gain_control()->Enable(true)); in void_main()
320 apm->gain_control()->set_target_level_dbfs(level)); in void_main()
327 ASSERT_EQ(apm->kNoError, apm->gain_control()->Enable(true)); in void_main()
[all …]
/external/chromium_org/third_party/webrtc/voice_engine/
Dvoe_audio_processing_impl.cc188 agcMode = _shared->audio_processing()->gain_control()->mode(); in SetAgcStatus()
201 if (_shared->audio_processing()->gain_control()->set_mode(agcMode) != 0) { in SetAgcStatus()
206 if (_shared->audio_processing()->gain_control()->Enable(enable) != 0) { in SetAgcStatus()
240 enabled = _shared->audio_processing()->gain_control()->is_enabled(); in GetAgcStatus()
242 _shared->audio_processing()->gain_control()->mode(); in GetAgcStatus()
275 if (_shared->audio_processing()->gain_control()->set_target_level_dbfs( in SetAgcConfig()
282 if (_shared->audio_processing()->gain_control()->set_compression_gain_db( in SetAgcConfig()
289 if (_shared->audio_processing()->gain_control()->enable_limiter( in SetAgcConfig()
314 _shared->audio_processing()->gain_control()->target_level_dbfs(); in GetAgcConfig()
316 _shared->audio_processing()->gain_control()->compression_gain_db(); in GetAgcConfig()
[all …]
Dchannel.cc1213 if (rx_audioproc_->gain_control()->set_mode(kDefaultRxAgcMode) != 0) { in Init()
1214 LOG_FERR1(LS_ERROR, gain_control()->set_mode, kDefaultRxAgcMode); in Init()
2778 agcMode = rx_audioproc_->gain_control()->mode(); in SetRxAgcStatus()
2793 if (rx_audioproc_->gain_control()->set_mode(agcMode) != 0) in SetRxAgcStatus()
2800 if (rx_audioproc_->gain_control()->Enable(enable) != 0) in SetRxAgcStatus()
2820 bool enable = rx_audioproc_->gain_control()->is_enabled(); in GetRxAgcStatus()
2822 rx_audioproc_->gain_control()->mode(); in GetRxAgcStatus()
2850 if (rx_audioproc_->gain_control()->set_target_level_dbfs( in SetRxAgcConfig()
2859 if (rx_audioproc_->gain_control()->set_compression_gain_db( in SetRxAgcConfig()
2868 if (rx_audioproc_->gain_control()->enable_limiter( in SetRxAgcConfig()
[all …]
Dvoe_base_impl.cc459 GainControl* agc = audioproc->gain_control(); in Init()
Dtransmit_mixer.cc1259 GainControl* agc = audioproc_->gain_control(); in ProcessAudio()
/external/webrtc/src/modules/audio_processing/agc/
Dagc.gypi26 'interface/gain_control.h',
/external/chromium_org/third_party/webrtc/modules/audio_conference_mixer/source/
Daudio_conference_mixer_impl.cc166 if(_limiter->gain_control()->set_mode(GainControl::kFixedDigital) != in Init()
173 if(_limiter->gain_control()->set_target_level_dbfs(7) != _limiter->kNoError) in Init()
176 if(_limiter->gain_control()->set_compression_gain_db(0) in Init()
180 if(_limiter->gain_control()->enable_limiter(true) != _limiter->kNoError) in Init()
183 if(_limiter->gain_control()->Enable(true) != _limiter->kNoError) in Init()
/external/chromium_org/content/renderer/media/
Dmedia_stream_audio_processor_options.cc276 int err = audio_processing->gain_control()->set_mode(mode); in EnableAutomaticGainControl()
277 err |= audio_processing->gain_control()->Enable(true); in EnableAutomaticGainControl()
Dmedia_stream_audio_processor_unittest.cc140 EXPECT_TRUE(audio_processing->gain_control()->is_enabled()); in VerifyDefaultComponents()
142 EXPECT_TRUE(audio_processing->gain_control()->mode() == in VerifyDefaultComponents()
146 EXPECT_TRUE(audio_processing->gain_control()->mode() == in VerifyDefaultComponents()
Dmedia_stream_audio_processor.cc560 webrtc::GainControl* agc = ap->gain_control(); in ProcessData()
/external/webrtc/src/modules/audio_processing/
Daudio_processing_impl.h76 virtual GainControl* gain_control() const;
Daudio_processing_impl.cc535 GainControl* AudioProcessingImpl::gain_control() const { in gain_control() function in webrtc::AudioProcessingImpl
/external/chromium_org/third_party/webrtc/modules/audio_processing/
Daudio_processing_impl.h133 virtual GainControl* gain_control() const OVERRIDE;
DBUILD.gn39 "agc/include/gain_control.h",
Daudio_processing.gypi50 'agc/include/gain_control.h',
Daudio_processing_impl.cc750 GainControl* AudioProcessingImpl::gain_control() const { in gain_control() function in webrtc::AudioProcessingImpl
/external/webrtc/src/modules/audio_processing/interface/
Daudio_processing.h206 virtual GainControl* gain_control() const = 0;
/external/chromium_org/third_party/webrtc/modules/audio_processing/include/
Dmock_audio_processing.h250 virtual MockGainControl* gain_control() const { in gain_control() function
Daudio_processing.h345 virtual GainControl* gain_control() const = 0;
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/
Dfakewebrtcvoiceengine.h138 virtual webrtc::GainControl* gain_control() const OVERRIDE { return NULL; } in gain_control() function