/external/webrtc/src/modules/audio_processing/main/test/unit_test/ |
D | unit_test.cc | 59 webrtc::AudioProcessing* apm_; member in __anon9dc79bea0111::ApmTest 68 : apm_(NULL), in ApmTest() 75 apm_ = AudioProcessing::Create(0); in SetUp() 76 ASSERT_TRUE(apm_ != NULL); in SetUp() 81 ASSERT_EQ(apm_->kNoError, apm_->set_sample_rate_hz(32000)); in SetUp() 82 ASSERT_EQ(apm_->kNoError, apm_->set_num_channels(2, 2)); in SetUp() 83 ASSERT_EQ(apm_->kNoError, apm_->set_num_reverse_channels(2)); in SetUp() 119 if (apm_ != NULL) { in TearDown() 120 AudioProcessing::Destroy(apm_); in TearDown() 122 apm_ = NULL; in TearDown() [all …]
|
/external/webrtc/src/modules/audio_processing/main/source/ |
D | echo_control_mobile_impl.cc | 62 apm_(apm), in EchoControlMobileImpl() 70 return apm_->kNoError; in ProcessRenderAudio() 74 assert(audio->num_channels() == apm_->num_reverse_channels()); in ProcessRenderAudio() 76 int err = apm_->kNoError; in ProcessRenderAudio() 80 for (int i = 0; i < apm_->num_output_channels(); i++) { in ProcessRenderAudio() 88 if (err != apm_->kNoError) { in ProcessRenderAudio() 96 return apm_->kNoError; in ProcessRenderAudio() 101 return apm_->kNoError; in ProcessCaptureAudio() 104 if (!apm_->was_stream_delay_set()) { in ProcessCaptureAudio() 105 return apm_->kStreamParameterNotSetError; in ProcessCaptureAudio() [all …]
|
D | echo_cancellation_impl.cc | 62 apm_(apm), in EchoCancellationImpl() 75 return apm_->kNoError; in ProcessRenderAudio() 79 assert(audio->num_channels() == apm_->num_reverse_channels()); in ProcessRenderAudio() 81 int err = apm_->kNoError; in ProcessRenderAudio() 85 for (int i = 0; i < apm_->num_output_channels(); i++) { in ProcessRenderAudio() 93 if (err != apm_->kNoError) { in ProcessRenderAudio() 101 return apm_->kNoError; in ProcessRenderAudio() 106 return apm_->kNoError; in ProcessCaptureAudio() 109 if (!apm_->was_stream_delay_set()) { in ProcessCaptureAudio() 110 return apm_->kStreamParameterNotSetError; in ProcessCaptureAudio() [all …]
|
D | gain_control_impl.cc | 58 apm_(apm), in GainControlImpl() 73 return apm_->kNoError; in ProcessRenderAudio() 91 if (err != apm_->kNoError) { in ProcessRenderAudio() 96 return apm_->kNoError; in ProcessRenderAudio() 101 return apm_->kNoError; in AnalyzeCaptureAudio() 107 int err = apm_->kNoError; in AnalyzeCaptureAudio() 118 if (err != apm_->kNoError) { in AnalyzeCaptureAudio() 139 if (err != apm_->kNoError) { in AnalyzeCaptureAudio() 146 return apm_->kNoError; in AnalyzeCaptureAudio() 151 return apm_->kNoError; in ProcessCaptureAudio() [all …]
|
D | voice_detection_impl.cc | 49 apm_(apm), in VoiceDetectionImpl() 60 return apm_->kNoError; in ProcessCaptureAudio() 65 return apm_->kNoError; in ProcessCaptureAudio() 79 apm_->split_sample_rate_hz(), in ProcessCaptureAudio() 88 return apm_->kUnspecifiedError; in ProcessCaptureAudio() 91 return apm_->kNoError; in ProcessCaptureAudio() 95 CriticalSectionScoped crit_scoped(*apm_->crit()); in Enable() 106 return apm_->kNoError; in set_stream_has_voice() 116 CriticalSectionScoped crit_scoped(*apm_->crit()); in set_likelihood() 118 return apm_->kBadParameterError; in set_likelihood() [all …]
|
D | level_estimator_impl.cc | 84 apm_(apm) {} in LevelEstimatorImpl() 89 return apm_->kUnsupportedComponentError; in AnalyzeReverseStream() 98 return apm_->kUnsupportedComponentError; in ProcessCaptureAudio() 107 CriticalSectionScoped crit_scoped(*apm_->crit()); in Enable() 108 return apm_->kUnsupportedComponentError; in Enable() 118 return apm_->kUnsupportedComponentError; in GetMetrics() 140 return apm_->kNoError; in get_version() 155 return apm_->kUnsupportedComponentError; in DestroyHandle() 160 return apm_->kUnsupportedComponentError; in InitializeHandle() 168 return apm_->kUnsupportedComponentError; in ConfigureHandle() [all …]
|
D | noise_suppression_impl.cc | 52 apm_(apm), in NoiseSuppressionImpl() 58 int err = apm_->kNoError; in ProcessCaptureAudio() 61 return apm_->kNoError; in ProcessCaptureAudio() 82 if (err != apm_->kNoError) { in ProcessCaptureAudio() 87 return apm_->kNoError; in ProcessCaptureAudio() 91 CriticalSectionScoped crit_scoped(*apm_->crit()); in Enable() 100 CriticalSectionScoped crit_scoped(*apm_->crit()); in set_level() 102 return apm_->kBadParameterError; in set_level() 121 return apm_->kBadParameterError; in get_version() 124 return apm_->kNoError; in get_version() [all …]
|
D | processing_component.cc | 20 : apm_(apm), in ProcessingComponent() 36 return apm_->kNoError; in Destroy() 44 if (err != apm_->kNoError) { in EnableComponent() 52 return apm_->kNoError; in EnableComponent() 70 return apm_->kNoError; in Initialize() 83 return apm_->kCreationFailedError; in Initialize() 88 if (err != apm_->kNoError) { in Initialize() 99 return apm_->kNoError; in Configure() 105 if (err != apm_->kNoError) { in Configure() 110 return apm_->kNoError; in Configure()
|
D | high_pass_filter_impl.cc | 110 apm_(apm) {} in HighPassFilterImpl() 115 int err = apm_->kNoError; in ProcessCaptureAudio() 118 return apm_->kNoError; in ProcessCaptureAudio() 129 if (err != apm_->kNoError) { in ProcessCaptureAudio() 134 return apm_->kNoError; in ProcessCaptureAudio() 138 CriticalSectionScoped crit_scoped(*apm_->crit()); in Enable() 150 return apm_->kNoError; in get_version() 159 return apm_->kNoError; in DestroyHandle() 164 apm_->sample_rate_hz()); in InitializeHandle() 168 return apm_->kNoError; // Not configurable. in ConfigureHandle() [all …]
|
D | high_pass_filter_impl.h | 47 const AudioProcessingImpl* apm_; variable
|
D | processing_component.h | 55 const AudioProcessingImpl* apm_; variable
|
D | noise_suppression_impl.h | 49 const AudioProcessingImpl* apm_; variable
|
D | level_estimator_impl.h | 49 const AudioProcessingImpl* apm_; variable
|
D | echo_control_mobile_impl.h | 53 const AudioProcessingImpl* apm_; variable
|
D | voice_detection_impl.h | 54 const AudioProcessingImpl* apm_; variable
|
D | echo_cancellation_impl.h | 61 const AudioProcessingImpl* apm_; variable
|
D | gain_control_impl.h | 66 const AudioProcessingImpl* apm_; variable
|