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

Side by Side Diff: webrtc/modules/audio_processing/aec3/block_processor.h

Issue 2784023002: Major AEC3 render pipeline changes (Closed)
Patch Set: Disabled one more DEATH test that caused issues due to bug on bots Created 3 years, 8 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 */ 9 */
10 10
(...skipping 24 matching lines...) Expand all
35 std::unique_ptr<EchoRemover> echo_remover); 35 std::unique_ptr<EchoRemover> echo_remover);
36 36
37 virtual ~BlockProcessor() = default; 37 virtual ~BlockProcessor() = default;
38 38
39 // Processes a block of capture data. 39 // Processes a block of capture data.
40 virtual void ProcessCapture( 40 virtual void ProcessCapture(
41 bool echo_path_gain_change, 41 bool echo_path_gain_change,
42 bool capture_signal_saturation, 42 bool capture_signal_saturation,
43 std::vector<std::vector<float>>* capture_block) = 0; 43 std::vector<std::vector<float>>* capture_block) = 0;
44 44
45 // Buffers a block of render data supplied by a FrameBlocker object. Returns a 45 // Buffers a block of render data supplied by a FrameBlocker object.
46 // bool indicating the success of the buffering. 46 virtual void BufferRender(
47 virtual bool BufferRender(std::vector<std::vector<float>>* render_block) = 0; 47 const std::vector<std::vector<float>>& render_block) = 0;
48 48
49 // Reports whether echo leakage has been detected in the echo canceller 49 // Reports whether echo leakage has been detected in the echo canceller
50 // output. 50 // output.
51 virtual void UpdateEchoLeakageStatus(bool leakage_detected) = 0; 51 virtual void UpdateEchoLeakageStatus(bool leakage_detected) = 0;
52 }; 52 };
53 53
54 } // namespace webrtc 54 } // namespace webrtc
55 55
56 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC3_BLOCK_PROCESSOR_H_ 56 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_AEC3_BLOCK_PROCESSOR_H_
OLDNEW
« no previous file with comments | « webrtc/modules/audio_processing/aec3/aec_state_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