Index: webrtc/modules/audio_processing/echo_detector/echo_detector.cc |
diff --git a/webrtc/modules/video_coding/codecs/vp9/vp9_noop.cc b/webrtc/modules/audio_processing/echo_detector/echo_detector.cc |
similarity index 54% |
copy from webrtc/modules/video_coding/codecs/vp9/vp9_noop.cc |
copy to webrtc/modules/audio_processing/echo_detector/echo_detector.cc |
index cc37e1adbbd47b91a73ea6624a86cedef7a7231f..842be9e2db3a5a999de4dd07c02c40ec41c879db 100644 |
--- a/webrtc/modules/video_coding/codecs/vp9/vp9_noop.cc |
+++ b/webrtc/modules/audio_processing/echo_detector/echo_detector.cc |
@@ -6,34 +6,25 @@ |
* tree. An additional intellectual property rights grant can be found |
* in the file PATENTS. All contributing project authors may |
* be found in the AUTHORS file in the root of the source tree. |
- * |
*/ |
-#if !defined(RTC_DISABLE_VP9) |
-#error |
-#endif // !defined(RTC_DISABLE_VP9) |
- |
-#include "webrtc/base/checks.h" |
-#include "webrtc/modules/video_coding/codecs/vp9/include/vp9.h" |
+#include "webrtc/modules/audio_processing/echo_detector/echo_detector.h" |
namespace webrtc { |
-bool VP9Encoder::IsSupported() { |
- return false; |
-} |
- |
-VP9Encoder* VP9Encoder::Create() { |
+void EchoDetector::BufferFarend(const rtc::ArrayView<const float>& /*farend*/) { |
+ // TODO(ivoc): Add implementation. |
RTC_NOTREACHED(); |
- return nullptr; |
} |
-bool VP9Decoder::IsSupported() { |
- return false; |
+void EchoDetector::Process(const rtc::ArrayView<const float>& /*nearend*/) { |
+ // TODO(ivoc): Add implementation. |
+ RTC_NOTREACHED(); |
} |
-VP9Decoder* VP9Decoder::Create() { |
+void EchoDetector::Initialize(int /*sample_rate_hz*/) { |
+ // TODO(ivoc): Add implementation. |
RTC_NOTREACHED(); |
- return nullptr; |
} |
} // namespace webrtc |