Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_processing/test/
Daudio_processing_unittest.cc395 rtc::scoped_ptr<AudioProcessing> apm_; member in webrtc::__anon2153f0120111::ApmTest
430 apm_.reset(AudioProcessing::Create(config)); in ApmTest()
434 ASSERT_TRUE(apm_.get() != NULL); in SetUp()
495 Init(apm_.get()); in Init()
528 EnableAllAPComponents(apm_.get()); in EnableAllComponents()
575 EXPECT_EQ(apm_->kNoError, apm_->set_stream_delay_ms(0)); in ProcessWithDefaultStreamParameters()
576 apm_->echo_cancellation()->set_stream_drift_samples(0); in ProcessWithDefaultStreamParameters()
577 EXPECT_EQ(apm_->kNoError, in ProcessWithDefaultStreamParameters()
578 apm_->gain_control()->set_stream_analog_level(127)); in ProcessWithDefaultStreamParameters()
579 EXPECT_EQ(apm_->kNoError, apm_->ProcessStream(frame)); in ProcessWithDefaultStreamParameters()
[all …]
Ddebug_dump_test.cc81 AudioProcessing* apm() const { return apm_.get(); } in apm()
108 rtc::scoped_ptr<AudioProcessing> apm_; member in webrtc::test::__anonbbd193a00111::DebugDumpGenerator
134 apm_(AudioProcessing::Create(config)), in DebugDumpGenerator()
184 apm_->StartDebugRecording(dump_file_name_.c_str()); in StartRecording()
193 RTC_CHECK_EQ(AudioProcessing::kNoError, apm_->set_stream_delay_ms(100)); in Process()
194 apm_->set_stream_key_pressed(i % 10 == 9); in Process()
196 apm_->ProcessStream(input_->channels(), input_config_, in Process()
200 apm_->ProcessReverseStream(reverse_->channels(), in Process()
208 apm_->StopDebugRecording(); in StopRecording()
257 rtc::scoped_ptr<AudioProcessing> apm_; member in webrtc::test::DebugDumpTest
[all …]
/external/webrtc/webrtc/modules/audio_processing/
Daudio_processing_impl_locking_unittest.cc334 AudioProcessing* const apm_ = nullptr; member in webrtc::__anone972275a0111::CaptureProcessor
349 AudioProcessing* apm_ = nullptr; member in webrtc::__anone972275a0111::StatsProcessor
380 AudioProcessing* const apm_ = nullptr; member in webrtc::__anone972275a0111::RenderProcessor
446 rtc::scoped_ptr<AudioProcessing> apm_; member in webrtc::__anone972275a0111::AudioProcessingImplLockTest
497 apm_(AudioProcessingImpl::Create()), in AudioProcessingImplLockTest()
505 apm_.get()), in AudioProcessingImplLockTest()
513 apm_.get()), in AudioProcessingImplLockTest()
514 stats_thread_state_(&rand_gen_, &test_config_, apm_.get()) {} in AudioProcessingImplLockTest()
534 ASSERT_EQ(apm_->kNoError, apm_->level_estimator()->Enable(true)); in SetUp()
535 ASSERT_EQ(apm_->kNoError, apm_->gain_control()->Enable(true)); in SetUp()
[all …]
Daudio_processing_performance_unittest.cc246 apm_(apm), in TimedThreadApiProcessor()
330 apm_->set_stream_delay_ms(30); in ProcessCapture()
334 const int result = apm_->ProcessStream( in ProcessCapture()
362 const int result = apm_->ProcessReverseStream( in ProcessRender()
442 AudioProcessing* apm_ = nullptr; member in webrtc::__anon1f8440740111::TimedThreadApiProcessor
576 apm_.reset(AudioProcessingImpl::Create()); in SetUp()
577 ASSERT_TRUE(!!apm_); in SetUp()
578 set_default_mobile_apm_runtime_settings(apm_.get()); in SetUp()
584 apm_.reset(AudioProcessingImpl::Create(config)); in SetUp()
585 ASSERT_TRUE(!!apm_); in SetUp()
[all …]
Decho_control_mobile_impl.cc74 apm_(apm), in EchoControlMobileImpl()
101 assert(audio->num_channels() == apm_->num_reverse_channels()); in ProcessRenderAudio()
107 for (size_t i = 0; i < apm_->num_output_channels(); i++) { in ProcessRenderAudio()
153 (apm_->num_output_channels() * apm_->num_reverse_channels()); in ReadQueuedRenderData()
154 for (size_t i = 0; i < apm_->num_output_channels(); i++) { in ReadQueuedRenderData()
155 for (size_t j = 0; j < apm_->num_reverse_channels(); j++) { in ReadQueuedRenderData()
174 if (!apm_->was_stream_delay_set()) { in ProcessCaptureAudio()
179 assert(audio->num_channels() == apm_->num_output_channels()); in ProcessCaptureAudio()
194 for (size_t j = 0; j < apm_->num_reverse_channels(); j++) { in ProcessCaptureAudio()
202 apm_->stream_delay_ms()); in ProcessCaptureAudio()
[all …]
Decho_cancellation_impl.cc68 apm_(apm), in EchoCancellationImpl()
95 assert(audio->num_channels() == apm_->num_reverse_channels()); in ProcessRenderAudio()
102 for (size_t i = 0; i < apm_->num_output_channels(); i++) { in ProcessRenderAudio()
148 (apm_->num_output_channels() * apm_->num_reverse_channels()); in ReadQueuedRenderData()
149 for (size_t i = 0; i < apm_->num_output_channels(); i++) { in ReadQueuedRenderData()
150 for (size_t j = 0; j < apm_->num_reverse_channels(); j++) { in ReadQueuedRenderData()
168 if (!apm_->was_stream_delay_set()) { in ProcessCaptureAudio()
177 assert(audio->num_channels() == apm_->num_proc_channels()); in ProcessCaptureAudio()
185 for (size_t j = 0; j < apm_->num_reverse_channels(); j++) { in ProcessCaptureAudio()
190 apm_->stream_delay_ms(), stream_drift_samples_); in ProcessCaptureAudio()
[all …]
Dgain_control_impl.cc49 apm_(apm), in GainControlImpl()
209 apm_->echo_cancellation()->stream_has_echo(), in ProcessCaptureAudio()
417 apm_->proc_sample_rate_hz()); in InitializeHandle()
438 return apm_->num_proc_channels(); in num_handles_required()
Decho_control_mobile_impl.h67 const AudioProcessing* apm_; variable
Dgain_control_impl.h77 const AudioProcessing* apm_; variable
Decho_cancellation_impl.h81 const AudioProcessing* apm_; variable