OLD | NEW |
---|---|
(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 | |
OLD | NEW |