| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2016 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 #include "webrtc/modules/audio_processing/aec3/echo_canceller3.h" | 10 #include "webrtc/modules/audio_processing/aec3/echo_canceller3.h" |
| 11 | 11 |
| 12 #include <sstream> | 12 #include <sstream> |
| 13 | 13 |
| 14 #include "webrtc/base/atomicops.h" | |
| 15 #include "webrtc/modules/audio_processing/logging/apm_data_dumper.h" | 14 #include "webrtc/modules/audio_processing/logging/apm_data_dumper.h" |
| 15 #include "webrtc/rtc_base/atomicops.h" |
| 16 | 16 |
| 17 namespace webrtc { | 17 namespace webrtc { |
| 18 | 18 |
| 19 namespace { | 19 namespace { |
| 20 | 20 |
| 21 enum class EchoCanceller3ApiCall { kCapture, kRender }; | 21 enum class EchoCanceller3ApiCall { kCapture, kRender }; |
| 22 | 22 |
| 23 bool DetectSaturation(rtc::ArrayView<const float> y) { | 23 bool DetectSaturation(rtc::ArrayView<const float> y) { |
| 24 for (auto y_k : y) { | 24 for (auto y_k : y) { |
| 25 if (y_k >= 32700.0f || y_k <= -32700.0f) { | 25 if (y_k >= 32700.0f || y_k <= -32700.0f) { |
| (...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 353 | 353 |
| 354 BufferRemainingRenderFrameContent(&render_blocker_, block_processor_.get(), | 354 BufferRemainingRenderFrameContent(&render_blocker_, block_processor_.get(), |
| 355 &block_); | 355 &block_); |
| 356 | 356 |
| 357 frame_to_buffer = | 357 frame_to_buffer = |
| 358 render_transfer_queue_.Remove(&render_queue_output_frame_); | 358 render_transfer_queue_.Remove(&render_queue_output_frame_); |
| 359 } | 359 } |
| 360 } | 360 } |
| 361 | 361 |
| 362 } // namespace webrtc | 362 } // namespace webrtc |
| OLD | NEW |