| 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 <algorithm> | 13 #include <algorithm> |
| 14 | 14 |
| 15 #include "webrtc/base/checks.h" | 15 #include "webrtc/base/checks.h" |
| 16 #include "webrtc/base/logging.h" |
| 16 #include "webrtc/base/platform_file.h" | 17 #include "webrtc/base/platform_file.h" |
| 17 #include "webrtc/base/trace_event.h" | 18 #include "webrtc/base/trace_event.h" |
| 18 #include "webrtc/common_audio/audio_converter.h" | 19 #include "webrtc/common_audio/audio_converter.h" |
| 19 #include "webrtc/common_audio/channel_buffer.h" | 20 #include "webrtc/common_audio/channel_buffer.h" |
| 20 #include "webrtc/common_audio/include/audio_util.h" | 21 #include "webrtc/common_audio/include/audio_util.h" |
| 21 #include "webrtc/common_audio/signal_processing/include/signal_processing_librar
y.h" | 22 #include "webrtc/common_audio/signal_processing/include/signal_processing_librar
y.h" |
| 22 #include "webrtc/modules/audio_processing/aec/aec_core.h" | 23 #include "webrtc/modules/audio_processing/aec/aec_core.h" |
| 23 #include "webrtc/modules/audio_processing/aec3/echo_canceller3.h" | 24 #include "webrtc/modules/audio_processing/aec3/echo_canceller3.h" |
| 24 #include "webrtc/modules/audio_processing/agc/agc_manager_direct.h" | 25 #include "webrtc/modules/audio_processing/agc/agc_manager_direct.h" |
| 25 #include "webrtc/modules/audio_processing/audio_buffer.h" | 26 #include "webrtc/modules/audio_processing/audio_buffer.h" |
| 26 #include "webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.h" | 27 #include "webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.h" |
| 27 #include "webrtc/modules/audio_processing/common.h" | 28 #include "webrtc/modules/audio_processing/common.h" |
| 28 #include "webrtc/modules/audio_processing/echo_cancellation_impl.h" | 29 #include "webrtc/modules/audio_processing/echo_cancellation_impl.h" |
| 29 #include "webrtc/modules/audio_processing/echo_control_mobile_impl.h" | 30 #include "webrtc/modules/audio_processing/echo_control_mobile_impl.h" |
| 30 #include "webrtc/modules/audio_processing/gain_control_for_experimental_agc.h" | 31 #include "webrtc/modules/audio_processing/gain_control_for_experimental_agc.h" |
| 31 #include "webrtc/modules/audio_processing/gain_control_impl.h" | 32 #include "webrtc/modules/audio_processing/gain_control_impl.h" |
| 32 #if WEBRTC_INTELLIGIBILITY_ENHANCER | 33 #if WEBRTC_INTELLIGIBILITY_ENHANCER |
| 33 #include "webrtc/modules/audio_processing/intelligibility/intelligibility_enhanc
er.h" | 34 #include "webrtc/modules/audio_processing/intelligibility/intelligibility_enhanc
er.h" |
| 34 #endif | 35 #endif |
| 35 #include "webrtc/modules/audio_processing/level_controller/level_controller.h" | 36 #include "webrtc/modules/audio_processing/level_controller/level_controller.h" |
| 36 #include "webrtc/modules/audio_processing/level_estimator_impl.h" | 37 #include "webrtc/modules/audio_processing/level_estimator_impl.h" |
| 37 #include "webrtc/modules/audio_processing/low_cut_filter.h" | 38 #include "webrtc/modules/audio_processing/low_cut_filter.h" |
| 38 #include "webrtc/modules/audio_processing/noise_suppression_impl.h" | 39 #include "webrtc/modules/audio_processing/noise_suppression_impl.h" |
| 39 #include "webrtc/modules/audio_processing/residual_echo_detector.h" | 40 #include "webrtc/modules/audio_processing/residual_echo_detector.h" |
| 40 #include "webrtc/modules/audio_processing/transient/transient_suppressor.h" | 41 #include "webrtc/modules/audio_processing/transient/transient_suppressor.h" |
| 41 #include "webrtc/modules/audio_processing/voice_detection_impl.h" | 42 #include "webrtc/modules/audio_processing/voice_detection_impl.h" |
| 42 #include "webrtc/modules/include/module_common_types.h" | 43 #include "webrtc/modules/include/module_common_types.h" |
| 43 #include "webrtc/system_wrappers/include/file_wrapper.h" | 44 #include "webrtc/system_wrappers/include/file_wrapper.h" |
| 44 #include "webrtc/system_wrappers/include/logging.h" | |
| 45 #include "webrtc/system_wrappers/include/metrics.h" | 45 #include "webrtc/system_wrappers/include/metrics.h" |
| 46 | 46 |
| 47 #ifdef WEBRTC_AUDIOPROC_DEBUG_DUMP | 47 #ifdef WEBRTC_AUDIOPROC_DEBUG_DUMP |
| 48 // Files generated at build-time by the protobuf compiler. | 48 // Files generated at build-time by the protobuf compiler. |
| 49 #ifdef WEBRTC_ANDROID_PLATFORM_BUILD | 49 #ifdef WEBRTC_ANDROID_PLATFORM_BUILD |
| 50 #include "external/webrtc/webrtc/modules/audio_processing/debug.pb.h" | 50 #include "external/webrtc/webrtc/modules/audio_processing/debug.pb.h" |
| 51 #else | 51 #else |
| 52 #include "webrtc/modules/audio_processing/debug.pb.h" | 52 #include "webrtc/modules/audio_processing/debug.pb.h" |
| 53 #endif | 53 #endif |
| 54 #endif // WEBRTC_AUDIOPROC_DEBUG_DUMP | 54 #endif // WEBRTC_AUDIOPROC_DEBUG_DUMP |
| (...skipping 1934 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1989 capture_processing_format(kSampleRate16kHz), | 1989 capture_processing_format(kSampleRate16kHz), |
| 1990 split_rate(kSampleRate16kHz) {} | 1990 split_rate(kSampleRate16kHz) {} |
| 1991 | 1991 |
| 1992 AudioProcessingImpl::ApmCaptureState::~ApmCaptureState() = default; | 1992 AudioProcessingImpl::ApmCaptureState::~ApmCaptureState() = default; |
| 1993 | 1993 |
| 1994 AudioProcessingImpl::ApmRenderState::ApmRenderState() = default; | 1994 AudioProcessingImpl::ApmRenderState::ApmRenderState() = default; |
| 1995 | 1995 |
| 1996 AudioProcessingImpl::ApmRenderState::~ApmRenderState() = default; | 1996 AudioProcessingImpl::ApmRenderState::~ApmRenderState() = default; |
| 1997 | 1997 |
| 1998 } // namespace webrtc | 1998 } // namespace webrtc |
| OLD | NEW |