Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Side by Side Diff: webrtc/modules/audio_processing/aec3/block_processor.cc

Issue 2678423005: Finalization of the first version of EchoCanceller 3 (Closed)
Patch Set: Fixed compilation error Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/block_processor.h" 10 #include "webrtc/modules/audio_processing/aec3/block_processor.h"
11 11
12 #include "webrtc/base/atomicops.h" 12 #include "webrtc/base/atomicops.h"
13 #include "webrtc/base/constructormagic.h" 13 #include "webrtc/base/constructormagic.h"
14 #include "webrtc/base/optional.h" 14 #include "webrtc/base/optional.h"
15 #include "webrtc/modules/audio_processing/aec3/aec3_constants.h" 15 #include "webrtc/modules/audio_processing/aec3/aec3_common.h"
16 #include "webrtc/modules/audio_processing/aec3/echo_path_variability.h" 16 #include "webrtc/modules/audio_processing/aec3/echo_path_variability.h"
17 #include "webrtc/modules/audio_processing/logging/apm_data_dumper.h" 17 #include "webrtc/modules/audio_processing/logging/apm_data_dumper.h"
18 #include "webrtc/system_wrappers/include/logging.h" 18 #include "webrtc/system_wrappers/include/logging.h"
19 19
20 namespace webrtc { 20 namespace webrtc {
21 namespace { 21 namespace {
22 22
23 class BlockProcessorImpl final : public BlockProcessor { 23 class BlockProcessorImpl final : public BlockProcessor {
24 public: 24 public:
25 BlockProcessorImpl(int sample_rate_hz, 25 BlockProcessorImpl(int sample_rate_hz,
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 int sample_rate_hz, 141 int sample_rate_hz,
142 std::unique_ptr<RenderDelayBuffer> render_buffer, 142 std::unique_ptr<RenderDelayBuffer> render_buffer,
143 std::unique_ptr<RenderDelayController> delay_controller, 143 std::unique_ptr<RenderDelayController> delay_controller,
144 std::unique_ptr<EchoRemover> echo_remover) { 144 std::unique_ptr<EchoRemover> echo_remover) {
145 return new BlockProcessorImpl(sample_rate_hz, std::move(render_buffer), 145 return new BlockProcessorImpl(sample_rate_hz, std::move(render_buffer),
146 std::move(delay_controller), 146 std::move(delay_controller),
147 std::move(echo_remover)); 147 std::move(echo_remover));
148 } 148 }
149 149
150 } // namespace webrtc 150 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698