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

Side by Side Diff: webrtc/modules/audio_processing/include/audio_processing.h

Issue 1763703002: Changed name for the upcoming AEC from NextGenerationAec to AEC3. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase with latest master Created 4 years, 9 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) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 ExtendedFilter() : enabled(false) {} 66 ExtendedFilter() : enabled(false) {}
67 explicit ExtendedFilter(bool enabled) : enabled(enabled) {} 67 explicit ExtendedFilter(bool enabled) : enabled(enabled) {}
68 static const ConfigOptionID identifier = ConfigOptionID::kExtendedFilter; 68 static const ConfigOptionID identifier = ConfigOptionID::kExtendedFilter;
69 bool enabled; 69 bool enabled;
70 }; 70 };
71 71
72 // Enables the next generation AEC functionality. This feature replaces the 72 // Enables the next generation AEC functionality. This feature replaces the
73 // standard methods for echo removal in the AEC. This configuration only applies 73 // standard methods for echo removal in the AEC. This configuration only applies
74 // to EchoCancellation and not EchoControlMobile. It can be set in the 74 // to EchoCancellation and not EchoControlMobile. It can be set in the
75 // constructor or using AudioProcessing::SetExtraOptions(). 75 // constructor or using AudioProcessing::SetExtraOptions().
76 struct NextGenerationAec { 76 struct EchoCanceller3 {
77 NextGenerationAec() : enabled(false) {} 77 EchoCanceller3() : enabled(false) {}
78 explicit NextGenerationAec(bool enabled) : enabled(enabled) {} 78 explicit EchoCanceller3(bool enabled) : enabled(enabled) {}
79 static const ConfigOptionID identifier = ConfigOptionID::kNextGenerationAec; 79 static const ConfigOptionID identifier = ConfigOptionID::kEchoCanceller3;
80 bool enabled; 80 bool enabled;
81 }; 81 };
82 82
83 // Enables delay-agnostic echo cancellation. This feature relies on internally 83 // Enables delay-agnostic echo cancellation. This feature relies on internally
84 // estimated delays between the process and reverse streams, thus not relying 84 // estimated delays between the process and reverse streams, thus not relying
85 // on reported system delays. This configuration only applies to 85 // on reported system delays. This configuration only applies to
86 // EchoCancellation and not EchoControlMobile. It can be set in the constructor 86 // EchoCancellation and not EchoControlMobile. It can be set in the constructor
87 // or using AudioProcessing::SetExtraOptions(). 87 // or using AudioProcessing::SetExtraOptions().
88 struct DelayAgnostic { 88 struct DelayAgnostic {
89 DelayAgnostic() : enabled(false) {} 89 DelayAgnostic() : enabled(false) {}
(...skipping 888 matching lines...) Expand 10 before | Expand all | Expand 10 after
978 // This does not impact the size of frames passed to |ProcessStream()|. 978 // This does not impact the size of frames passed to |ProcessStream()|.
979 virtual int set_frame_size_ms(int size) = 0; 979 virtual int set_frame_size_ms(int size) = 0;
980 virtual int frame_size_ms() const = 0; 980 virtual int frame_size_ms() const = 0;
981 981
982 protected: 982 protected:
983 virtual ~VoiceDetection() {} 983 virtual ~VoiceDetection() {}
984 }; 984 };
985 } // namespace webrtc 985 } // namespace webrtc
986 986
987 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_INCLUDE_AUDIO_PROCESSING_H_ 987 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_INCLUDE_AUDIO_PROCESSING_H_
OLDNEW
« no previous file with comments | « webrtc/modules/audio_processing/echo_cancellation_impl.cc ('k') | webrtc/modules/audio_processing/test/process_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698