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

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

Issue 2678423005: Finalization of the first version of EchoCanceller 3 (Closed)
Patch Set: Fixed compilation error Created 3 years, 10 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) 2017 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2017 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/aec3/render_delay_buffer.h" 11 #include "webrtc/modules/audio_processing/aec3/render_delay_buffer.h"
12 12
13 #include <string.h> 13 #include <string.h>
14 #include <algorithm> 14 #include <algorithm>
15 15
16 #include "webrtc/base/checks.h" 16 #include "webrtc/base/checks.h"
17 #include "webrtc/base/constructormagic.h" 17 #include "webrtc/base/constructormagic.h"
18 #include "webrtc/modules/audio_processing/aec3/aec3_constants.h" 18 #include "webrtc/modules/audio_processing/aec3/aec3_common.h"
19 #include "webrtc/system_wrappers/include/logging.h" 19 #include "webrtc/system_wrappers/include/logging.h"
20 20
21 namespace webrtc { 21 namespace webrtc {
22 namespace { 22 namespace {
23 23
24 class RenderDelayBufferImpl final : public RenderDelayBuffer { 24 class RenderDelayBufferImpl final : public RenderDelayBuffer {
25 public: 25 public:
26 RenderDelayBufferImpl(size_t size_blocks, 26 RenderDelayBufferImpl(size_t size_blocks,
27 size_t num_bands, 27 size_t num_bands,
28 size_t max_api_jitter_blocks); 28 size_t max_api_jitter_blocks);
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 } // namespace 96 } // namespace
97 97
98 RenderDelayBuffer* RenderDelayBuffer::Create(size_t size_blocks, 98 RenderDelayBuffer* RenderDelayBuffer::Create(size_t size_blocks,
99 size_t num_bands, 99 size_t num_bands,
100 size_t max_api_jitter_blocks) { 100 size_t max_api_jitter_blocks) {
101 return new RenderDelayBufferImpl(size_blocks, num_bands, 101 return new RenderDelayBufferImpl(size_blocks, num_bands,
102 max_api_jitter_blocks); 102 max_api_jitter_blocks);
103 } 103 }
104 104
105 } // namespace webrtc 105 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698