| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 #include "webrtc/modules/audio_processing/audio_processing_impl.h" | 11 #include "webrtc/modules/audio_processing/audio_processing_impl.h" |
| 12 | 12 |
| 13 #include <math.h> | 13 #include <math.h> |
| 14 #include <algorithm> | 14 #include <algorithm> |
| 15 #include <string> | 15 #include <string> |
| 16 | 16 |
| 17 #include "webrtc/base/checks.h" | |
| 18 #include "webrtc/base/logging.h" | |
| 19 #include "webrtc/base/platform_file.h" | |
| 20 #include "webrtc/base/trace_event.h" | |
| 21 #include "webrtc/common_audio/audio_converter.h" | 17 #include "webrtc/common_audio/audio_converter.h" |
| 22 #include "webrtc/common_audio/channel_buffer.h" | 18 #include "webrtc/common_audio/channel_buffer.h" |
| 23 #include "webrtc/common_audio/include/audio_util.h" | 19 #include "webrtc/common_audio/include/audio_util.h" |
| 24 #include "webrtc/common_audio/signal_processing/include/signal_processing_librar
y.h" | 20 #include "webrtc/common_audio/signal_processing/include/signal_processing_librar
y.h" |
| 25 #include "webrtc/modules/audio_processing/aec/aec_core.h" | 21 #include "webrtc/modules/audio_processing/aec/aec_core.h" |
| 26 #include "webrtc/modules/audio_processing/aec3/echo_canceller3.h" | 22 #include "webrtc/modules/audio_processing/aec3/echo_canceller3.h" |
| 23 #include "webrtc/modules/audio_processing/agc/agc_manager_direct.h" |
| 27 #include "webrtc/modules/audio_processing/agc2/gain_controller2.h" | 24 #include "webrtc/modules/audio_processing/agc2/gain_controller2.h" |
| 28 #include "webrtc/modules/audio_processing/agc/agc_manager_direct.h" | |
| 29 #include "webrtc/modules/audio_processing/audio_buffer.h" | 25 #include "webrtc/modules/audio_processing/audio_buffer.h" |
| 30 #include "webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.h" | 26 #include "webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.h" |
| 31 #include "webrtc/modules/audio_processing/common.h" | 27 #include "webrtc/modules/audio_processing/common.h" |
| 32 #include "webrtc/modules/audio_processing/echo_cancellation_impl.h" | 28 #include "webrtc/modules/audio_processing/echo_cancellation_impl.h" |
| 33 #include "webrtc/modules/audio_processing/echo_control_mobile_impl.h" | 29 #include "webrtc/modules/audio_processing/echo_control_mobile_impl.h" |
| 34 #include "webrtc/modules/audio_processing/gain_control_for_experimental_agc.h" | 30 #include "webrtc/modules/audio_processing/gain_control_for_experimental_agc.h" |
| 35 #include "webrtc/modules/audio_processing/gain_control_impl.h" | 31 #include "webrtc/modules/audio_processing/gain_control_impl.h" |
| 32 #include "webrtc/rtc_base/checks.h" |
| 33 #include "webrtc/rtc_base/logging.h" |
| 34 #include "webrtc/rtc_base/platform_file.h" |
| 35 #include "webrtc/rtc_base/trace_event.h" |
| 36 #if WEBRTC_INTELLIGIBILITY_ENHANCER | 36 #if WEBRTC_INTELLIGIBILITY_ENHANCER |
| 37 #include "webrtc/modules/audio_processing/intelligibility/intelligibility_enhanc
er.h" | 37 #include "webrtc/modules/audio_processing/intelligibility/intelligibility_enhanc
er.h" |
| 38 #endif | 38 #endif |
| 39 #include "webrtc/modules/audio_processing/level_controller/level_controller.h" | 39 #include "webrtc/modules/audio_processing/level_controller/level_controller.h" |
| 40 #include "webrtc/modules/audio_processing/level_estimator_impl.h" | 40 #include "webrtc/modules/audio_processing/level_estimator_impl.h" |
| 41 #include "webrtc/modules/audio_processing/low_cut_filter.h" | 41 #include "webrtc/modules/audio_processing/low_cut_filter.h" |
| 42 #include "webrtc/modules/audio_processing/noise_suppression_impl.h" | 42 #include "webrtc/modules/audio_processing/noise_suppression_impl.h" |
| 43 #include "webrtc/modules/audio_processing/residual_echo_detector.h" | 43 #include "webrtc/modules/audio_processing/residual_echo_detector.h" |
| 44 #include "webrtc/modules/audio_processing/transient/transient_suppressor.h" | 44 #include "webrtc/modules/audio_processing/transient/transient_suppressor.h" |
| 45 #include "webrtc/modules/audio_processing/voice_detection_impl.h" | 45 #include "webrtc/modules/audio_processing/voice_detection_impl.h" |
| (...skipping 2212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2258 split_rate(kSampleRate16kHz), | 2258 split_rate(kSampleRate16kHz), |
| 2259 echo_path_gain_change(false) {} | 2259 echo_path_gain_change(false) {} |
| 2260 | 2260 |
| 2261 AudioProcessingImpl::ApmCaptureState::~ApmCaptureState() = default; | 2261 AudioProcessingImpl::ApmCaptureState::~ApmCaptureState() = default; |
| 2262 | 2262 |
| 2263 AudioProcessingImpl::ApmRenderState::ApmRenderState() = default; | 2263 AudioProcessingImpl::ApmRenderState::ApmRenderState() = default; |
| 2264 | 2264 |
| 2265 AudioProcessingImpl::ApmRenderState::~ApmRenderState() = default; | 2265 AudioProcessingImpl::ApmRenderState::~ApmRenderState() = default; |
| 2266 | 2266 |
| 2267 } // namespace webrtc | 2267 } // namespace webrtc |
| OLD | NEW |