Home
last modified time | relevance | path

Searched refs:echo_cancellation (Results 1 – 25 of 28) sorted by relevance

12

/external/webrtc/webrtc/modules/audio_processing/
Decho_cancellation_impl_unittest.cc22 EXPECT_TRUE(ap->echo_cancellation()->aec_core() == NULL); in TEST()
24 EXPECT_EQ(ap->kNoError, ap->echo_cancellation()->Enable(true)); in TEST()
25 EXPECT_TRUE(ap->echo_cancellation()->is_enabled()); in TEST()
27 AecCore* aec_core = ap->echo_cancellation()->aec_core(); in TEST()
52 EXPECT_TRUE(ap->echo_cancellation()->aec_core() == NULL); in TEST()
54 EXPECT_EQ(ap->kNoError, ap->echo_cancellation()->Enable(true)); in TEST()
55 EXPECT_TRUE(ap->echo_cancellation()->is_enabled()); in TEST()
57 AecCore* aec_core = ap->echo_cancellation()->aec_core(); in TEST()
Daudio_processing_impl.cc151 : echo_cancellation(nullptr), in ApmPublicSubmodules()
155 EchoCancellationImpl* echo_cancellation; member
237 public_submodules_->echo_cancellation = in AudioProcessingImpl()
255 public_submodules_->echo_cancellation); in AudioProcessingImpl()
600 public_submodules_->echo_cancellation->ReadQueuedRenderData(); in ProcessStream()
667 public_submodules_->echo_cancellation->ReadQueuedRenderData(); in ProcessStream()
750 public_submodules_->echo_cancellation->stream_drift_samples()); in ProcessStreamLocked()
787 RETURN_ON_ERR(public_submodules_->echo_cancellation->ProcessCaptureAudio(ca)); in ProcessStreamLocked()
995 RETURN_ON_ERR(public_submodules_->echo_cancellation->ProcessRenderAudio(ra)); in ProcessReverseStreamLocked()
1144 EchoCancellation* AudioProcessingImpl::echo_cancellation() const { in echo_cancellation() function in webrtc::AudioProcessingImpl
[all …]
Daudio_processing_performance_unittest.cc519 ASSERT_EQ(apm->kNoError, apm->echo_cancellation()->Enable(true)); in SetUp()
520 ASSERT_EQ(apm->kNoError, apm->echo_cancellation()->enable_metrics(true)); in SetUp()
522 apm->echo_cancellation()->enable_delay_logging(true)); in SetUp()
535 ASSERT_EQ(apm->kNoError, apm->echo_cancellation()->Enable(false)); in SetUp()
549 ASSERT_EQ(apm->kNoError, apm->echo_cancellation()->Enable(false)); in SetUp()
550 ASSERT_EQ(apm->kNoError, apm->echo_cancellation()->enable_metrics(false)); in SetUp()
552 apm->echo_cancellation()->enable_delay_logging(false)); in SetUp()
Daudio_processing_impl_locking_unittest.cc547 ASSERT_EQ(apm_->kNoError, apm_->echo_cancellation()->Enable(false)); in SetUp()
551 ASSERT_EQ(apm_->kNoError, apm_->echo_cancellation()->Enable(false)); in SetUp()
554 ASSERT_EQ(apm_->kNoError, apm_->echo_cancellation()->Enable(true)); in SetUp()
555 ASSERT_EQ(apm_->kNoError, apm_->echo_cancellation()->enable_metrics(true)); in SetUp()
557 apm_->echo_cancellation()->enable_delay_logging(true)); in SetUp()
589 EXPECT_EQ(apm_->echo_cancellation()->is_enabled(), in Process()
593 apm_->echo_cancellation()->stream_drift_samples(); in Process()
Daudio_processing.gypi42 'aec/echo_cancellation.c',
44 'aec/echo_cancellation.h',
DBUILD.gn32 "aec/echo_cancellation.c",
33 "aec/echo_cancellation.h",
Daudio_processing_impl.h117 EchoCancellation* echo_cancellation() const override;
Decho_control_mobile_impl.cc220 if (enable && apm_->echo_cancellation()->is_enabled()) { in Enable()
Dgain_control_impl.cc209 apm_->echo_cancellation()->stream_has_echo(), in ProcessCaptureAudio()
/external/webrtc/webrtc/modules/audio_processing/test/
Daudio_processing_unittest.cc173 EXPECT_NOERR(ap->echo_cancellation()->enable_drift_compensation(true)); in EnableAllAPComponents()
174 EXPECT_NOERR(ap->echo_cancellation()->enable_metrics(true)); in EnableAllAPComponents()
175 EXPECT_NOERR(ap->echo_cancellation()->enable_delay_logging(true)); in EnableAllAPComponents()
176 EXPECT_NOERR(ap->echo_cancellation()->Enable(true)); in EnableAllAPComponents()
576 apm_->echo_cancellation()->set_stream_drift_samples(0); in ProcessWithDefaultStreamParameters()
666 apm_->echo_cancellation()->GetDelayMetrics(&median, &std, in ProcessDelayVerificationTest()
696 apm_->echo_cancellation()->GetDelayMetrics(&median, &std, in ProcessDelayVerificationTest()
719 EXPECT_EQ(apm_->kNoError, apm_->echo_cancellation()->Enable(true)); in StreamParametersTest()
721 apm_->echo_cancellation()->enable_drift_compensation(true)); in StreamParametersTest()
723 apm_->echo_cancellation()->set_stream_drift_samples(0); in StreamParametersTest()
[all …]
Dprocess_test.cc221 ASSERT_EQ(apm->kNoError, apm->echo_cancellation()->Enable(true)); in void_main()
223 apm->echo_cancellation()->enable_metrics(true)); in void_main()
225 apm->echo_cancellation()->enable_delay_logging(true)); in void_main()
228 ASSERT_EQ(apm->kNoError, apm->echo_cancellation()->Enable(true)); in void_main()
232 apm->echo_cancellation()->enable_drift_compensation(true)); in void_main()
234 ASSERT_EQ(apm->kNoError, apm->echo_cancellation()->Enable(true)); in void_main()
236 apm->echo_cancellation()->enable_drift_compensation(false)); in void_main()
239 ASSERT_EQ(apm->kNoError, apm->echo_cancellation()->Enable(true)); in void_main()
241 apm->echo_cancellation()->enable_metrics(false)); in void_main()
244 ASSERT_EQ(apm->kNoError, apm->echo_cancellation()->Enable(true)); in void_main()
[all …]
Ddebug_dump_test.cc324 apm_->echo_cancellation()->set_stream_drift_samples(msg.drift()); in OnStreamEvent()
412 apm_->echo_cancellation()->Enable(msg.aec_enabled())); in ConfigureApm()
416 apm_->echo_cancellation()->enable_drift_compensation( in ConfigureApm()
421 apm_->echo_cancellation()->set_suppression_level( in ConfigureApm()
527 EchoCancellation* aec = generator.apm()->echo_cancellation(); in TEST_F()
542 EchoCancellation* aec = generator.apm()->echo_cancellation(); in TEST_F()
553 EchoCancellation* aec = generator.apm()->echo_cancellation(); in TEST_F()
Daudioproc_float.cc119 RTC_CHECK_EQ(kNoErr, ap->echo_cancellation()->Enable(FLAGS_aec || FLAGS_all)); in main()
Daudio_file_processor.cc147 ap_->echo_cancellation()->set_stream_drift_samples(msg.drift()); in HandleMessage()
/external/webrtc/webrtc/voice_engine/
Dvoe_audio_processing_impl.cc480 EchoCancellation* aec = _shared->audio_processing()->echo_cancellation(); in EnableDriftCompensation()
492 EchoCancellation* aec = _shared->audio_processing()->echo_cancellation(); in DriftCompensationEnabled()
521 if (_shared->audio_processing()->echo_cancellation()->Enable(enable) != 0) { in SetEcStatus()
528 ->echo_cancellation() in SetEcStatus()
538 ->echo_cancellation() in SetEcStatus()
553 if (_shared->audio_processing()->echo_cancellation()->is_enabled()) { in SetEcStatus()
556 if (_shared->audio_processing()->echo_cancellation()->Enable(false) != in SetEcStatus()
594 enabled = _shared->audio_processing()->echo_cancellation()->is_enabled(); in GetEcStatus()
794 if ((_shared->audio_processing()->echo_cancellation()->enable_metrics( in SetEcMetricsStatus()
796 (_shared->audio_processing()->echo_cancellation()->enable_delay_logging( in SetEcMetricsStatus()
[all …]
Dvoe_base_impl.cc345 if (audioproc->echo_cancellation()->enable_drift_compensation(false) != 0) { in Init()
/external/webrtc/talk/app/webrtc/
Dlocalaudiosource_unittest.cc61 EXPECT_EQ(rtc::Optional<bool>(false), source->options().echo_cancellation); in TEST()
90 EXPECT_EQ(rtc::Optional<bool>(false), source->options().echo_cancellation); in TEST()
Dlocalaudiosource.cc55 options->echo_cancellation}, in FromConstraints()
/external/webrtc/talk/media/base/
Dmediachannel.h103 SetFrom(&echo_cancellation, change.echo_cancellation); in SetAll()
132 return echo_cancellation == o.echo_cancellation &&
161 ost << ToStringIfSet("aec", echo_cancellation); in ToString()
193 rtc::Optional<bool> echo_cancellation; member
/external/webrtc/talk/media/webrtc/
Dwebrtcvoiceengine.cc575 options.echo_cancellation = rtc::Optional<bool>(true); in ApplyOptions()
606 options.echo_cancellation = rtc::Optional<bool>(false); in ApplyOptions()
630 options.echo_cancellation = rtc::Optional<bool>(true); in ApplyOptions()
639 if (options.echo_cancellation) { in ApplyOptions()
650 *options.echo_cancellation && !use_delay_agnostic_aec; in ApplyOptions()
655 options.echo_cancellation = rtc::Optional<bool>(false); in ApplyOptions()
659 if (voep->SetEcStatus(*options.echo_cancellation, ec_mode) == -1) { in ApplyOptions()
660 LOG_RTCERR2(SetEcStatus, *options.echo_cancellation, ec_mode); in ApplyOptions()
663 LOG(LS_INFO) << "Echo control set to " << *options.echo_cancellation in ApplyOptions()
668 if (voep->SetEcMetricsStatus(*options.echo_cancellation) == -1) { in ApplyOptions()
[all …]
Dwebrtcvoiceengine_unittest.cc2584 send_parameters_.options.echo_cancellation = rtc::Optional<bool>(false); in TEST_F()
2591 send_parameters_.options.echo_cancellation = rtc::Optional<bool>(true); in TEST_F()
2625 send_parameters_.options.echo_cancellation = rtc::Optional<bool>(false); in TEST_F()
2739 parameters_options_all.options.echo_cancellation = rtc::Optional<bool>(true); in TEST_F()
2753 expected_options.echo_cancellation = rtc::Optional<bool>(true); in TEST_F()
2763 expected_options.echo_cancellation = rtc::Optional<bool>(true); in TEST_F()
2808 expected_options.echo_cancellation = rtc::Optional<bool>(true); in TEST_F()
/external/webrtc/webrtc/modules/audio_processing/aec/
DAndroid.bp14 "echo_cancellation.c",
/external/webrtc/webrtc/modules/audio_processing/include/
Dmock_audio_processing.h260 virtual MockEchoCancellation* echo_cancellation() const { in echo_cancellation() function
Daudio_processing.h444 virtual EchoCancellation* echo_cancellation() const = 0;
/external/webrtc/webrtc/tools/agc/
Dagc_harness.cc116 audioproc->echo_cancellation()->Enable(FLAGS_aec); in SetUp()

12