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

Unified 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 side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698