Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_processing/test/
Dprocess_test.cc347 ASSERT_EQ(apm->kNoError, apm->noise_suppression()->Enable(true)); in void_main()
350 ASSERT_EQ(apm->kNoError, apm->noise_suppression()->Enable(true)); in void_main()
352 apm->noise_suppression()->set_level(NoiseSuppression::kLow)); in void_main()
355 ASSERT_EQ(apm->kNoError, apm->noise_suppression()->Enable(true)); in void_main()
357 apm->noise_suppression()->set_level(NoiseSuppression::kModerate)); in void_main()
360 ASSERT_EQ(apm->kNoError, apm->noise_suppression()->Enable(true)); in void_main()
362 apm->noise_suppression()->set_level(NoiseSuppression::kHigh)); in void_main()
365 ASSERT_EQ(apm->kNoError, apm->noise_suppression()->Enable(true)); in void_main()
367 apm->noise_suppression()->set_level(NoiseSuppression::kVeryHigh)); in void_main()
528 if (apm->noise_suppression()->is_enabled()) { in void_main()
[all …]
Daudioproc_float.cc122 RTC_CHECK_EQ(kNoErr, ap->noise_suppression()->Enable(FLAGS_ns || FLAGS_all)); in main()
125 ap->noise_suppression()->set_level( in main()
Ddebug_dump_test.cc463 apm_->noise_suppression()->Enable(msg.ns_enabled())); in ConfigureApm()
467 apm_->noise_suppression()->set_level( in ConfigureApm()
593 NoiseSuppression* ns = generator.apm()->noise_suppression(); in TEST_F()
Daudio_processing_unittest.cc185 EXPECT_NOERR(ap->noise_suppression()->Enable(true)); in EnableAllAPComponents()
1390 apm_->noise_suppression()->set_level(level[i])); in TEST_F()
1391 EXPECT_EQ(level[i], apm_->noise_suppression()->level()); in TEST_F()
1395 EXPECT_EQ(apm_->kNoError, apm_->noise_suppression()->Enable(true)); in TEST_F()
1396 EXPECT_TRUE(apm_->noise_suppression()->is_enabled()); in TEST_F()
1397 EXPECT_EQ(apm_->kNoError, apm_->noise_suppression()->Enable(false)); in TEST_F()
1398 EXPECT_FALSE(apm_->noise_suppression()->is_enabled()); in TEST_F()
1543 EXPECT_FALSE(apm_->noise_suppression()->is_enabled()); in TEST_F()
2015 EXPECT_NEAR(apm_->noise_suppression()->speech_probability(), in TEST_F()
2016 fapm->noise_suppression()->speech_probability(), in TEST_F()
[all …]
/external/webrtc/webrtc/modules/audio_processing/
Daudio_processing_impl.cc160 rtc::scoped_ptr<NoiseSuppressionImpl> noise_suppression; member
247 public_submodules_->noise_suppression.reset( in AudioProcessingImpl()
786 public_submodules_->noise_suppression->AnalyzeCaptureAudio(ca); in ProcessStreamLocked()
790 public_submodules_->noise_suppression->is_enabled()) { in ProcessStreamLocked()
793 public_submodules_->noise_suppression->ProcessCaptureAudio(ca); in ProcessStreamLocked()
1177 NoiseSuppression* AudioProcessingImpl::noise_suppression() const { in noise_suppression() function in webrtc::AudioProcessingImpl
1180 return public_submodules_->noise_suppression.get(); in noise_suppression()
1203 if (public_submodules_->noise_suppression->is_enabled()) { in is_data_processed()
1332 public_submodules_->noise_suppression->Initialize(num_proc_channels(), in InitializeNoiseSuppression()
1504 config.set_ns_enabled(public_submodules_->noise_suppression->is_enabled()); in WriteConfigMessage()
[all …]
Daudio_processing.gypi186 'ns/noise_suppression.h',
187 'ns/noise_suppression.c',
Daudio_processing_performance_unittest.cc516 ASSERT_EQ(apm->kNoError, apm->noise_suppression()->Enable(true)); in SetUp()
532 ASSERT_EQ(apm->kNoError, apm->noise_suppression()->Enable(true)); in SetUp()
546 ASSERT_EQ(apm->kNoError, apm->noise_suppression()->Enable(false)); in SetUp()
DBUILD.gn179 "ns/noise_suppression.c",
180 "ns/noise_suppression.h",
Daudio_processing_impl_locking_unittest.cc541 ASSERT_EQ(apm_->kNoError, apm_->noise_suppression()->Enable(true)); in SetUp()
600 EXPECT_TRUE(apm_->noise_suppression()->is_enabled()); in Process()
603 apm_->noise_suppression()->speech_probability(); in Process()
Daudio_processing_impl.h122 NoiseSuppression* noise_suppression() const override;
/external/webrtc/talk/media/base/
Dmediachannel.h105 SetFrom(&noise_suppression, change.noise_suppression); in SetAll()
134 noise_suppression == o.noise_suppression &&
163 ost << ToStringIfSet("ns", noise_suppression); in ToString()
197 rtc::Optional<bool> noise_suppression; member
/external/webrtc/webrtc/voice_engine/
Dvoe_audio_processing_impl.cc87 nsLevel = _shared->audio_processing()->noise_suppression()->level(); in SetNsStatus()
106 if (_shared->audio_processing()->noise_suppression()->set_level(nsLevel) != in SetNsStatus()
112 if (_shared->audio_processing()->noise_suppression()->Enable(enable) != 0) { in SetNsStatus()
133 enabled = _shared->audio_processing()->noise_suppression()->is_enabled(); in GetNsStatus()
135 _shared->audio_processing()->noise_suppression()->level(); in GetNsStatus()
Dchannel.cc1147 if (rx_audioproc_->noise_suppression()->set_level(kDefaultNsMode) != 0) { in Init()
2788 nsLevel = rx_audioproc_->noise_suppression()->level(); in SetRxNsStatus()
2807 if (rx_audioproc_->noise_suppression()->set_level(nsLevel) in SetRxNsStatus()
2815 if (rx_audioproc_->noise_suppression()->Enable(enable) != 0) in SetRxNsStatus()
2833 rx_audioproc_->noise_suppression()->is_enabled(); in GetRxNsStatus()
2835 rx_audioproc_->noise_suppression()->level(); in GetRxNsStatus()
Dvoe_base_impl.cc349 if (audioproc->noise_suppression()->set_level(kDefaultNsMode) != 0) { in Init()
/external/webrtc/webrtc/modules/audio_processing/ns/
DAndroid.bp21 // noise_suppression.c ns_core.c
/external/webrtc/talk/app/webrtc/
Dlocalaudiosource.cc64 options->noise_suppression}, in FromConstraints()
Dlocalaudiosource_unittest.cc66 EXPECT_EQ(rtc::Optional<bool>(false), source->options().noise_suppression); in TEST()
/external/webrtc/talk/media/webrtc/
Dwebrtcvoiceengine.cc577 options.noise_suppression = rtc::Optional<bool>(true); in ApplyOptions()
729 if (options.noise_suppression) { in ApplyOptions()
732 if (voe_wrapper_->hw()->EnableBuiltInNS(*options.noise_suppression) == in ApplyOptions()
734 *options.noise_suppression) { in ApplyOptions()
737 options.noise_suppression = rtc::Optional<bool>(false); in ApplyOptions()
741 if (voep->SetNsStatus(*options.noise_suppression, ns_mode) == -1) { in ApplyOptions()
742 LOG_RTCERR2(SetNsStatus, *options.noise_suppression, ns_mode); in ApplyOptions()
745 LOG(LS_INFO) << "Noise suppression set to " << *options.noise_suppression in ApplyOptions()
Dwebrtcvoiceengine_unittest.cc2653 send_parameters_.options.noise_suppression = rtc::Optional<bool>(false); in TEST_F()
2741 parameters_options_all.options.noise_suppression = rtc::Optional<bool>(true); in TEST_F()
2749 parameters_options_no_ns.options.noise_suppression = in TEST_F()
2755 expected_options.noise_suppression = rtc::Optional<bool>(false); in TEST_F()
2765 expected_options.noise_suppression = rtc::Optional<bool>(true); in TEST_F()
2804 parameters_options_no_agc_nor_ns.options.noise_suppression = in TEST_F()
2810 expected_options.noise_suppression = rtc::Optional<bool>(false); in TEST_F()
Dfakewebrtcvoiceengine.h128 webrtc::NoiseSuppression* noise_suppression() const override { return NULL; } in noise_suppression() function
/external/webrtc/webrtc/modules/audio_processing/include/
Dmock_audio_processing.h275 virtual MockNoiseSuppression* noise_suppression() const { in noise_suppression() function
Daudio_processing.h449 virtual NoiseSuppression* noise_suppression() const = 0;
/external/webrtc/webrtc/tools/agc/
Dagc_harness.cc115 audioproc->noise_suppression()->Enable(FLAGS_ns); in SetUp()