OLD | NEW |
---|---|
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 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
260 bool enabled = false; | 260 bool enabled = false; |
261 } high_pass_filter; | 261 } high_pass_filter; |
262 | 262 |
263 // Enables the next generation AEC functionality. This feature replaces the | 263 // Enables the next generation AEC functionality. This feature replaces the |
264 // standard methods for echo removal in the AEC. | 264 // standard methods for echo removal in the AEC. |
265 // The functionality is not yet activated in the code and turning this on | 265 // The functionality is not yet activated in the code and turning this on |
266 // does not yet have the desired behavior. | 266 // does not yet have the desired behavior. |
267 struct EchoCanceller3 { | 267 struct EchoCanceller3 { |
268 bool enabled = false; | 268 bool enabled = false; |
269 } echo_canceller3; | 269 } echo_canceller3; |
270 | |
271 // AGC2 enables the next generation AGC functionality. This feature replaces | |
272 // the standard methods of adaptive gain control in the previous AGC. | |
273 // The functionality is not yet activated in the code and turning this on | |
274 // does not yet have the desired behavior. | |
275 struct Agc2 { | |
peah-webrtc
2017/05/02 11:01:08
Along the lines of the comments from aleloi@, Gain
AleBzk
2017/05/02 11:31:55
Acknowledged.
| |
276 bool enabled = false; | |
277 } agc2; | |
270 }; | 278 }; |
271 | 279 |
272 // TODO(mgraczyk): Remove once all methods that use ChannelLayout are gone. | 280 // TODO(mgraczyk): Remove once all methods that use ChannelLayout are gone. |
273 enum ChannelLayout { | 281 enum ChannelLayout { |
274 kMono, | 282 kMono, |
275 // Left, right. | 283 // Left, right. |
276 kStereo, | 284 kStereo, |
277 // Mono, keyboard, and mic. | 285 // Mono, keyboard, and mic. |
278 kMonoAndKeyboard, | 286 kMonoAndKeyboard, |
279 // Left, right, keyboard, and mic. | 287 // Left, right, keyboard, and mic. |
(...skipping 794 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1074 // This does not impact the size of frames passed to |ProcessStream()|. | 1082 // This does not impact the size of frames passed to |ProcessStream()|. |
1075 virtual int set_frame_size_ms(int size) = 0; | 1083 virtual int set_frame_size_ms(int size) = 0; |
1076 virtual int frame_size_ms() const = 0; | 1084 virtual int frame_size_ms() const = 0; |
1077 | 1085 |
1078 protected: | 1086 protected: |
1079 virtual ~VoiceDetection() {} | 1087 virtual ~VoiceDetection() {} |
1080 }; | 1088 }; |
1081 } // namespace webrtc | 1089 } // namespace webrtc |
1082 | 1090 |
1083 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_INCLUDE_AUDIO_PROCESSING_H_ | 1091 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_INCLUDE_AUDIO_PROCESSING_H_ |
OLD | NEW |