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

Unified Diff: webrtc/modules/audio_processing/aec3/block_processor.h

Issue 2603293002: Revert of Added first layer of the echo canceller 3 functionality (Closed)
Patch Set: Created 3 years, 12 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/aec3/block_processor.h
diff --git a/webrtc/modules/audio_processing/aec3/block_processor.h b/webrtc/modules/audio_processing/aec3/block_processor.h
deleted file mode 100644
index b84b18df81a24fe1cf7ec6329189a7d67001f04b..0000000000000000000000000000000000000000
--- a/webrtc/modules/audio_processing/aec3/block_processor.h
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
- *
- * Use of this source code is governed by a BSD-style license
- * that can be found in the LICENSE file in the root of the source
- * 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.
- */
-
-#ifndef WEBRTC_MODULES_AUDIO_PROCESSING_AEC3_BLOCK_PROCESSOR_H_
-#define WEBRTC_MODULES_AUDIO_PROCESSING_AEC3_BLOCK_PROCESSOR_H_
-
-#include <memory>
-#include <vector>
-
-#include "webrtc/base/constructormagic.h"
-#include "webrtc/modules/audio_processing/logging/apm_data_dumper.h"
-
-namespace webrtc {
-
-// Class for performing echo cancellation on 64 sample blocks of audio data.
-class BlockProcessor {
- public:
- static BlockProcessor* Create(int sample_rate_hz);
- virtual ~BlockProcessor() = default;
-
- // Processes a block of capture data.
- virtual void ProcessCapture(
- bool known_echo_path_change,
- bool saturated_microphone_signal,
- std::vector<std::vector<float>>* capture_block) = 0;
-
- // Buffers a block of render data supplied by a FrameBlocker object.
- virtual bool BufferRender(std::vector<std::vector<float>>* render_block) = 0;
-
- // Reports whether echo leakage has been detected in the echo canceller
- // output.
- virtual void ReportEchoLeakage(bool leakage_detected) = 0;
-};
-
-} // namespace webrtc
-
-#endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC3_BLOCK_PROCESSOR_H_
« no previous file with comments | « webrtc/modules/audio_processing/aec3/block_framer_unittest.cc ('k') | webrtc/modules/audio_processing/aec3/block_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698