Home
last modified time | relevance | path

Searched refs:level_estimator (Results 1 – 9 of 9) sorted by relevance

/external/webrtc/webrtc/modules/audio_processing/test/
Daudio_processing_unittest.cc184 EXPECT_NOERR(ap->level_estimator()->Enable(true)); in EnableAllAPComponents()
1411 EXPECT_EQ(apm_->kNoError, apm_->level_estimator()->Enable(false)); in TEST_F()
1412 EXPECT_FALSE(apm_->level_estimator()->is_enabled()); in TEST_F()
1414 EXPECT_EQ(apm_->kNotEnabledError, apm_->level_estimator()->RMS()); in TEST_F()
1416 EXPECT_EQ(apm_->kNoError, apm_->level_estimator()->Enable(true)); in TEST_F()
1417 EXPECT_TRUE(apm_->level_estimator()->is_enabled()); in TEST_F()
1426 EXPECT_EQ(127, apm_->level_estimator()->RMS()); in TEST_F()
1432 EXPECT_EQ(127, apm_->level_estimator()->RMS()); in TEST_F()
1439 EXPECT_EQ(0, apm_->level_estimator()->RMS()); in TEST_F()
1444 EXPECT_EQ(1, apm_->level_estimator()->RMS()); in TEST_F()
[all …]
Dprocess_test.cc178 ASSERT_EQ(apm->kNoError, apm->level_estimator()->Enable(true)); in void_main()
249 ASSERT_EQ(apm->kNoError, apm->level_estimator()->Enable(false)); in void_main()
1078 if (apm->level_estimator()->is_enabled()) { in void_main()
1080 printf("RMS: %d dBFS\n", -apm->level_estimator()->RMS()); in void_main()
/external/webrtc/webrtc/modules/audio_processing/
Daudio_processing_impl.cc159 rtc::scoped_ptr<LevelEstimatorImpl> level_estimator; member
245 public_submodules_->level_estimator.reset( in AudioProcessingImpl()
828 public_submodules_->level_estimator->ProcessStream(ca); in ProcessStreamLocked()
1171 LevelEstimator* AudioProcessingImpl::level_estimator() const { in level_estimator() function in webrtc::AudioProcessingImpl
1174 return public_submodules_->level_estimator.get(); in level_estimator()
1206 if (public_submodules_->level_estimator->is_enabled()) { in is_data_processed()
1219 if (public_submodules_->level_estimator->is_enabled() || in is_data_processed()
1224 if (public_submodules_->level_estimator->is_enabled() && in is_data_processed()
1337 public_submodules_->level_estimator->Initialize(); in InitializeLevelEstimator()
Daudio_processing_performance_unittest.cc511 ASSERT_EQ(apm->kNoError, apm->level_estimator()->Enable(true)); in SetUp()
527 ASSERT_EQ(apm->kNoError, apm->level_estimator()->Enable(true)); in SetUp()
541 ASSERT_EQ(apm->kNoError, apm->level_estimator()->Enable(false)); in SetUp()
Daudio_processing_impl.h121 LevelEstimator* level_estimator() const override;
Daudio_processing_impl_locking_unittest.cc534 ASSERT_EQ(apm_->kNoError, apm_->level_estimator()->Enable(true)); in SetUp()
/external/webrtc/webrtc/modules/audio_processing/include/
Dmock_audio_processing.h272 virtual MockLevelEstimator* level_estimator() const { in level_estimator() function
Daudio_processing.h448 virtual LevelEstimator* level_estimator() const = 0;
/external/webrtc/talk/media/webrtc/
Dfakewebrtcvoiceengine.h127 webrtc::LevelEstimator* level_estimator() const override { return NULL; } in level_estimator() function