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

Side by Side Diff: webrtc/modules/audio_processing/echo_detector/echo_detector.cc

Issue 2405403003: Add empty residual echo detector. (Closed)
Patch Set: Moved responsibility for proper locking to APM. Created 4 years, 2 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 *
10 */ 9 */
11 10
12 #if !defined(RTC_DISABLE_VP9) 11 #include "webrtc/modules/audio_processing/echo_detector/echo_detector.h"
13 #error
14 #endif // !defined(RTC_DISABLE_VP9)
15
16 #include "webrtc/base/checks.h"
17 #include "webrtc/modules/video_coding/codecs/vp9/include/vp9.h"
18 12
19 namespace webrtc { 13 namespace webrtc {
20 14
21 bool VP9Encoder::IsSupported() { 15 void EchoDetector::BufferFarend(const rtc::ArrayView<const float>& /*farend*/) {
22 return false; 16 // TODO(ivoc): Add implementation.
17 RTC_NOTREACHED();
23 } 18 }
24 19
25 VP9Encoder* VP9Encoder::Create() { 20 void EchoDetector::Process(const rtc::ArrayView<const float>& /*nearend*/) {
21 // TODO(ivoc): Add implementation.
26 RTC_NOTREACHED(); 22 RTC_NOTREACHED();
27 return nullptr;
28 } 23 }
29 24
30 bool VP9Decoder::IsSupported() { 25 void EchoDetector::Initialize(int /*sample_rate_hz*/) {
31 return false; 26 // TODO(ivoc): Add implementation.
32 }
33
34 VP9Decoder* VP9Decoder::Create() {
35 RTC_NOTREACHED(); 27 RTC_NOTREACHED();
36 return nullptr;
37 } 28 }
38 29
39 } // namespace webrtc 30 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698