Home
last modified time | relevance | path

Searched refs:voice_detection (Results 1 – 10 of 10) sorted by relevance

/external/webrtc/webrtc/modules/audio_processing/test/
Dprocess_test.cc375 ASSERT_EQ(apm->kNoError, apm->voice_detection()->Enable(true)); in void_main()
378 ASSERT_EQ(apm->kNoError, apm->voice_detection()->Enable(true)); in void_main()
380 apm->voice_detection()->set_likelihood( in void_main()
384 ASSERT_EQ(apm->kNoError, apm->voice_detection()->Enable(true)); in void_main()
386 apm->voice_detection()->set_likelihood( in void_main()
390 ASSERT_EQ(apm->kNoError, apm->voice_detection()->Enable(true)); in void_main()
392 apm->voice_detection()->set_likelihood( in void_main()
396 ASSERT_EQ(apm->kNoError, apm->voice_detection()->Enable(true)); in void_main()
398 apm->voice_detection()->set_likelihood( in void_main()
524 if (apm->voice_detection()->is_enabled()) { in void_main()
[all …]
Daudio_processing_unittest.cc187 EXPECT_NOERR(ap->voice_detection()->Enable(true)); in EnableAllAPComponents()
1477 apm_->voice_detection()->set_stream_has_voice(true)); in TEST_F()
1478 EXPECT_TRUE(apm_->voice_detection()->stream_has_voice()); in TEST_F()
1480 apm_->voice_detection()->set_stream_has_voice(false)); in TEST_F()
1481 EXPECT_FALSE(apm_->voice_detection()->stream_has_voice()); in TEST_F()
1492 apm_->voice_detection()->set_likelihood(likelihood[i])); in TEST_F()
1493 EXPECT_EQ(likelihood[i], apm_->voice_detection()->likelihood()); in TEST_F()
1510 EXPECT_EQ(apm_->kNoError, apm_->voice_detection()->Enable(true)); in TEST_F()
1511 EXPECT_TRUE(apm_->voice_detection()->is_enabled()); in TEST_F()
1512 EXPECT_EQ(apm_->kNoError, apm_->voice_detection()->Enable(false)); in TEST_F()
[all …]
/external/webrtc/webrtc/modules/audio_processing/
Daudio_processing_impl.cc161 rtc::scoped_ptr<VoiceDetectionImpl> voice_detection; member
249 public_submodules_->voice_detection.reset( in AudioProcessingImpl()
796 public_submodules_->voice_detection->ProcessCaptureAudio(ca); in ProcessStreamLocked()
1183 VoiceDetection* AudioProcessingImpl::voice_detection() const { in voice_detection() function in webrtc::AudioProcessingImpl
1186 return public_submodules_->voice_detection.get(); in voice_detection()
1209 if (public_submodules_->voice_detection->is_enabled()) { in is_data_processed()
1220 public_submodules_->voice_detection->is_enabled()) { in is_data_processed()
1225 public_submodules_->voice_detection->is_enabled()) { in is_data_processed()
1249 !public_submodules_->voice_detection->is_enabled() && in analysis_needed()
1341 public_submodules_->voice_detection->Initialize(proc_split_sample_rate_hz()); in InitializeVoiceDetection()
Daudio_processing_performance_unittest.cc517 ASSERT_EQ(apm->kNoError, apm->voice_detection()->Enable(true)); in SetUp()
533 ASSERT_EQ(apm->kNoError, apm->voice_detection()->Enable(true)); in SetUp()
547 ASSERT_EQ(apm->kNoError, apm->voice_detection()->Enable(false)); in SetUp()
Daudio_processing_impl.h123 VoiceDetection* voice_detection() const override;
Daudio_processing_impl_locking_unittest.cc542 ASSERT_EQ(apm_->kNoError, apm_->voice_detection()->Enable(true)); in SetUp()
604 apm_->voice_detection()->is_enabled(); in Process()
/external/webrtc/webrtc/voice_engine/
Dvoe_audio_processing_impl.cc966 if (_shared->audio_processing()->voice_detection()->Enable(enable)) { in SetTypingDetectionStatus()
971 if (_shared->audio_processing()->voice_detection()->set_likelihood( in SetTypingDetectionStatus()
991 enabled = _shared->audio_processing()->voice_detection()->is_enabled(); in GetTypingDetectionStatus()
1005 bool enabled = _shared->audio_processing()->voice_detection()->is_enabled(); in TimeSinceLastTyping()
/external/webrtc/webrtc/modules/audio_processing/include/
Dmock_audio_processing.h278 virtual MockVoiceDetection* voice_detection() const { in voice_detection() function
Daudio_processing.h450 virtual VoiceDetection* voice_detection() const = 0;
/external/webrtc/talk/media/webrtc/
Dfakewebrtcvoiceengine.h129 webrtc::VoiceDetection* voice_detection() const override { return NULL; } in voice_detection() function