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

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

Issue 2611223003: Adding second layer of the echo canceller 3 functionality. (Closed)
Patch Set: Created 3 years, 11 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
(Empty)
1 /*
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
hlundin-webrtc 2017/01/18 13:08:48 2017
peah-webrtc 2017/01/19 15:33:04 Done.
3 *
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
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10 #include "webrtc/modules/audio_processing/aec3/echo_path_delay_estimator.h"
11
12 #include "webrtc/base/checks.h"
13 #include "webrtc/modules/audio_processing/aec3/aec3_constants.h"
14 namespace webrtc {
15
16 // TODO(peah): Add functionality.
17 EchoPathDelayEstimator::EchoPathDelayEstimator(ApmDataDumper* data_dumper,
18 int sample_rate_hz) {
19 RTC_DCHECK(data_dumper);
20 RTC_DCHECK(sample_rate_hz == 8000 || sample_rate_hz == 16000 ||
21 sample_rate_hz == 32000 || sample_rate_hz == 48000);
22 }
23
24 EchoPathDelayEstimator::~EchoPathDelayEstimator() = default;
25
26 // TODO(peah): Add functionality.
27 rtc::Optional<size_t> EchoPathDelayEstimator::EstimateDelay(
28 rtc::ArrayView<const float> render,
29 rtc::ArrayView<const float> capture) {
30 RTC_DCHECK_EQ(render.size(), kBlockSize);
31 RTC_DCHECK_EQ(capture.size(), kBlockSize);
32 return rtc::Optional<size_t>();
33 }
34
35 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698