Home
last modified time | relevance | path

Searched refs:AudioProcessing (Results 1 – 25 of 48) sorted by relevance

12

/external/webrtc/webrtc/modules/audio_processing/
Decho_control_mobile_impl.cc42 AudioProcessing::Error MapError(int err) { in MapError()
45 return AudioProcessing::kUnsupportedFunctionError; in MapError()
47 return AudioProcessing::kNullPointerError; in MapError()
49 return AudioProcessing::kBadParameterError; in MapError()
51 return AudioProcessing::kBadStreamParameterWarning; in MapError()
55 return AudioProcessing::kUnspecifiedError; in MapError()
70 EchoControlMobileImpl::EchoControlMobileImpl(const AudioProcessing* apm, in EchoControlMobileImpl()
97 return AudioProcessing::kNoError; in ProcessRenderAudio()
103 int err = AudioProcessing::kNoError; in ProcessRenderAudio()
114 if (err != AudioProcessing::kNoError) in ProcessRenderAudio()
[all …]
Decho_cancellation_impl.cc40 AudioProcessing::Error MapError(int err) { in MapError()
43 return AudioProcessing::kUnsupportedFunctionError; in MapError()
45 return AudioProcessing::kBadParameterError; in MapError()
47 return AudioProcessing::kBadStreamParameterWarning; in MapError()
52 return AudioProcessing::kUnspecifiedError; in MapError()
64 EchoCancellationImpl::EchoCancellationImpl(const AudioProcessing* apm, in EchoCancellationImpl()
91 return AudioProcessing::kNoError; in ProcessRenderAudio()
97 int err = AudioProcessing::kNoError; in ProcessRenderAudio()
111 if (err != AudioProcessing::kNoError) { in ProcessRenderAudio()
132 return AudioProcessing::kNoError; in ProcessRenderAudio()
[all …]
Dgain_control_impl.cc45 GainControlImpl::GainControlImpl(const AudioProcessing* apm, in GainControlImpl()
72 return AudioProcessing::kNoError; in ProcessRenderAudio()
83 if (err != AudioProcessing::kNoError) in ProcessRenderAudio()
101 return AudioProcessing::kNoError; in ProcessRenderAudio()
131 return AudioProcessing::kNoError; in AnalyzeCaptureAudio()
137 int err = AudioProcessing::kNoError; in AnalyzeCaptureAudio()
149 if (err != AudioProcessing::kNoError) { in AnalyzeCaptureAudio()
169 if (err != AudioProcessing::kNoError) { in AnalyzeCaptureAudio()
176 return AudioProcessing::kNoError; in AnalyzeCaptureAudio()
183 return AudioProcessing::kNoError; in ProcessCaptureAudio()
[all …]
Dprocessing_component.cc35 return AudioProcessing::kNoError; in Destroy()
43 if (err != AudioProcessing::kNoError) { in EnableComponent()
51 return AudioProcessing::kNoError; in EnableComponent()
69 return AudioProcessing::kNoError; in Initialize()
82 return AudioProcessing::kCreationFailedError; in Initialize()
87 if (err != AudioProcessing::kNoError) { in Initialize()
98 return AudioProcessing::kNoError; in Configure()
104 if (err != AudioProcessing::kNoError) { in Configure()
109 return AudioProcessing::kNoError; in Configure()
Dcommon.h20 static inline size_t ChannelsFromLayout(AudioProcessing::ChannelLayout layout) { in ChannelsFromLayout()
22 case AudioProcessing::kMono: in ChannelsFromLayout()
23 case AudioProcessing::kMonoAndKeyboard: in ChannelsFromLayout()
25 case AudioProcessing::kStereo: in ChannelsFromLayout()
26 case AudioProcessing::kStereoAndKeyboard: in ChannelsFromLayout()
Daudio_processing_impl_locking_unittest.cc108 AudioProcessing::ChannelLayout output_channel_layout =
109 AudioProcessing::ChannelLayout::kMono;
114 AudioProcessing::ChannelLayout input_channel_layout =
115 AudioProcessing::ChannelLayout::kMono;
316 AudioProcessing* apm);
334 AudioProcessing* const apm_ = nullptr;
343 AudioProcessing* apm);
349 AudioProcessing* apm_ = nullptr;
362 AudioProcessing* apm);
380 AudioProcessing* const apm_ = nullptr;
[all …]
Daudio_processing_impl.cc65 static bool LayoutHasKeyboard(AudioProcessing::ChannelLayout layout) { in LayoutHasKeyboard()
67 case AudioProcessing::kMono: in LayoutHasKeyboard()
68 case AudioProcessing::kStereo: in LayoutHasKeyboard()
70 case AudioProcessing::kMonoAndKeyboard: in LayoutHasKeyboard()
71 case AudioProcessing::kStereoAndKeyboard: in LayoutHasKeyboard()
81 static_assert(AudioProcessing::kNoError == 0, "kNoError must be zero");
106 return AudioProcessing::kNoError; in set_stream_analog_level()
109 int set_mode(Mode mode) override { return AudioProcessing::kNoError; } in set_mode()
112 return AudioProcessing::kNoError; in set_target_level_dbfs()
118 return AudioProcessing::kNoError; in set_compression_gain_db()
[all …]
Decho_cancellation_impl_unittest.cc21 rtc::scoped_ptr<AudioProcessing> ap(AudioProcessing::Create()); in TEST()
51 rtc::scoped_ptr<AudioProcessing> ap(AudioProcessing::Create()); in TEST()
Dvoice_detection_impl.cc87 return AudioProcessing::kNoError; in Enable()
99 return AudioProcessing::kNoError; in set_stream_has_voice()
134 return AudioProcessing::kNoError; in set_likelihood()
147 return AudioProcessing::kNoError; in set_frame_size_ms()
Daudio_processing_performance_unittest.cc237 AudioProcessing* apm, in TimedThreadApiProcessor()
411 AudioProcessing::kChunkSizeMs / 1000), in PrepareFrame()
442 AudioProcessing* apm_ = nullptr;
510 auto set_default_desktop_apm_runtime_settings = [](AudioProcessing* apm) { in SetUp()
526 auto set_default_mobile_apm_runtime_settings = [](AudioProcessing* apm) { in SetUp()
540 auto turn_off_default_apm_runtime_settings = [](AudioProcessing* apm) { in SetUp()
677 rtc::scoped_ptr<AudioProcessing> apm_;
695 int result = AudioProcessing::kNoError; in Process()
705 EXPECT_EQ(result, AudioProcessing::kNoError); in Process()
Dlevel_estimator_impl.cc49 return AudioProcessing::kNoError; in Enable()
60 return AudioProcessing::kNotEnabledError; in RMS()
Dnoise_suppression_impl.cc117 return AudioProcessing::kNoError; in Enable()
149 return AudioProcessing::kNoError; in set_level()
172 return AudioProcessing::kUnsupportedFunctionError; in speech_probability()
/external/webrtc/webrtc/modules/audio_processing/test/
Ddebug_dump_test.cc81 AudioProcessing* apm() const { return apm_.get(); } in apm()
108 rtc::scoped_ptr<AudioProcessing> apm_;
134 apm_(AudioProcessing::Create(config)), in DebugDumpGenerator()
193 RTC_CHECK_EQ(AudioProcessing::kNoError, apm_->set_stream_delay_ms(100)); in Process()
195 RTC_CHECK_EQ(AudioProcessing::kNoError, in Process()
199 RTC_CHECK_EQ(AudioProcessing::kNoError, in Process()
257 rtc::scoped_ptr<AudioProcessing> apm_;
340 ASSERT_EQ(AudioProcessing::kNoError, in OnStreamEvent()
370 ASSERT_EQ(AudioProcessing::kNoError, in OnReverseStreamEvent()
404 apm_.reset(AudioProcessing::Create(config)); in MaybeRecreateApm()
[all …]
Daudio_file_processor.h45 static const int kChunksPerSecond = 1000 / AudioProcessing::kChunkSizeMs;
87 WavFileProcessor(rtc::scoped_ptr<AudioProcessing> ap,
96 rtc::scoped_ptr<AudioProcessing> ap_;
110 AecDumpFileProcessor(rtc::scoped_ptr<AudioProcessing> ap,
125 rtc::scoped_ptr<AudioProcessing> ap_;
Dtest_utils.cc109 return static_cast<size_t>(AudioProcessing::kChunkSizeMs * rate / 1000); in SamplesFromRate()
115 frame->samples_per_channel_ = AudioProcessing::kChunkSizeMs * in SetFrameSampleRate()
119 AudioProcessing::ChannelLayout LayoutFromChannels(size_t num_channels) { in LayoutFromChannels()
122 return AudioProcessing::kMono; in LayoutFromChannels()
124 return AudioProcessing::kStereo; in LayoutFromChannels()
127 return AudioProcessing::kMono; in LayoutFromChannels()
Daudio_processing_unittest.cc87 size_t TotalChannelsFromLayout(AudioProcessing::ChannelLayout layout) { in TotalChannelsFromLayout()
89 case AudioProcessing::kMono: in TotalChannelsFromLayout()
91 case AudioProcessing::kMonoAndKeyboard: in TotalChannelsFromLayout()
92 case AudioProcessing::kStereo: in TotalChannelsFromLayout()
94 case AudioProcessing::kStereoAndKeyboard: in TotalChannelsFromLayout()
166 void EnableAllAPComponents(AudioProcessing* ap) { in EnableAllAPComponents()
207 void TestStats(const AudioProcessing::Statistic& test, in TestStats()
215 void WriteStatsMessage(const AudioProcessing::Statistic& output, in WriteStatsMessage()
364 void Init(AudioProcessing* ap);
376 AudioProcessing::Error expected_return);
[all …]
Dtest_utils.h29 static const AudioProcessing::Error kNoErr = AudioProcessing::kNoError;
104 AudioProcessing::ChannelLayout LayoutFromChannels(size_t num_channels);
/external/webrtc/webrtc/modules/audio_processing/include/
Daudio_processing.h226 class AudioProcessing {
244 static AudioProcessing* Create();
246 static AudioProcessing* Create(const Config& config);
248 static AudioProcessing* Create(const Config& config,
250 virtual ~AudioProcessing() {} in ~AudioProcessing()
546 AudioProcessing::kChunkSizeMs * sample_rate_hz / 1000); in calculate_frames()
659 AudioProcessing::Statistic residual_echo_return_loss;
662 AudioProcessing::Statistic echo_return_loss;
665 AudioProcessing::Statistic echo_return_loss_enhancement;
668 AudioProcessing::Statistic a_nlp;
/external/webrtc/webrtc/voice_engine/
Dvoe_base_unittest.cc25 AudioProcessing* audioproc = AudioProcessing::Create(); in TEST_F()
51 AudioProcessing* audioproc = AudioProcessing::Create(); in TEST_F()
Dshared_data.h42 AudioProcessing* audio_processing() { return audioproc_.get(); } in audio_processing()
43 void set_audio_processing(AudioProcessing* audio_processing);
72 rtc::scoped_ptr<AudioProcessing> audioproc_;
Doutput_mixer.h25 class AudioProcessing; variable
45 AudioProcessing* audioProcessingModule);
109 AudioProcessing* _audioProcessingModulePtr;
Dtransmit_mixer.h28 class AudioProcessing; variable
51 AudioProcessing* audioProcessingModule);
194 AudioProcessing* audioproc_;
/external/webrtc/webrtc/voice_engine/include/
Dvoe_base.h42 class AudioProcessing; variable
130 AudioProcessing* audioproc = NULL) = 0;
133 virtual AudioProcessing* audio_processing() = 0;
/external/webrtc/webrtc/voice_engine/test/auto_test/fixtures/
Dafter_initialization_fixture.cc28 webrtc::AudioProcessing* audioproc = webrtc::AudioProcessing::Create(config); in AfterInitializationFixture()
/external/webrtc/talk/media/webrtc/
Dfakewebrtcvoiceengine.h58 class FakeAudioProcessing : public webrtc::AudioProcessing {
67 webrtc::AudioProcessing::ChannelLayout input_layout,
68 webrtc::AudioProcessing::ChannelLayout output_layout,
69 webrtc::AudioProcessing::ChannelLayout reverse_layout));
90 webrtc::AudioProcessing::ChannelLayout input_layout,
92 webrtc::AudioProcessing::ChannelLayout output_layout,
105 webrtc::AudioProcessing::ChannelLayout layout));
325 webrtc::AudioProcessing* audioproc)) {
333 webrtc::AudioProcessing* audio_processing() override { in audio_processing()

12