/external/webrtc/src/modules/audio_processing/test/ |
D | unit_test.cc | 275 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 …]
|
D | process_test.cc | 268 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/ |
D | audio_processing_unittest.cc | 161 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 …]
|
D | process_test.cc | 296 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/ |
D | voe_audio_processing_impl.cc | 188 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 …]
|
D | channel.cc | 1213 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 …]
|
D | voe_base_impl.cc | 459 GainControl* agc = audioproc->gain_control(); in Init()
|
D | transmit_mixer.cc | 1259 GainControl* agc = audioproc_->gain_control(); in ProcessAudio()
|
/external/webrtc/src/modules/audio_processing/agc/ |
D | agc.gypi | 26 'interface/gain_control.h',
|
/external/chromium_org/third_party/webrtc/modules/audio_conference_mixer/source/ |
D | audio_conference_mixer_impl.cc | 166 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/ |
D | media_stream_audio_processor_options.cc | 276 int err = audio_processing->gain_control()->set_mode(mode); in EnableAutomaticGainControl() 277 err |= audio_processing->gain_control()->Enable(true); in EnableAutomaticGainControl()
|
D | media_stream_audio_processor_unittest.cc | 140 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()
|
D | media_stream_audio_processor.cc | 560 webrtc::GainControl* agc = ap->gain_control(); in ProcessData()
|
/external/webrtc/src/modules/audio_processing/ |
D | audio_processing_impl.h | 76 virtual GainControl* gain_control() const;
|
D | audio_processing_impl.cc | 535 GainControl* AudioProcessingImpl::gain_control() const { in gain_control() function in webrtc::AudioProcessingImpl
|
/external/chromium_org/third_party/webrtc/modules/audio_processing/ |
D | audio_processing_impl.h | 133 virtual GainControl* gain_control() const OVERRIDE;
|
D | BUILD.gn | 39 "agc/include/gain_control.h",
|
D | audio_processing.gypi | 50 'agc/include/gain_control.h',
|
D | audio_processing_impl.cc | 750 GainControl* AudioProcessingImpl::gain_control() const { in gain_control() function in webrtc::AudioProcessingImpl
|
/external/webrtc/src/modules/audio_processing/interface/ |
D | audio_processing.h | 206 virtual GainControl* gain_control() const = 0;
|
/external/chromium_org/third_party/webrtc/modules/audio_processing/include/ |
D | mock_audio_processing.h | 250 virtual MockGainControl* gain_control() const { in gain_control() function
|
D | audio_processing.h | 345 virtual GainControl* gain_control() const = 0;
|
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/ |
D | fakewebrtcvoiceengine.h | 138 virtual webrtc::GainControl* gain_control() const OVERRIDE { return NULL; } in gain_control() function
|