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

Side by Side Diff: webrtc/common.h

Issue 2090583002: New module for the adaptive level controlling functionality in the audio processing module (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Temporarily deactivated the level controller until the CL with the proper tuning has been landed Created 4 years, 5 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
« no previous file with comments | « no previous file | webrtc/modules/audio_processing/BUILD.gn » ('j') | webrtc/webrtc_tests.gypi » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 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 16 matching lines...) Expand all
27 kNetEqCapacityConfig, 27 kNetEqCapacityConfig,
28 kNetEqFastAccelerate, 28 kNetEqFastAccelerate,
29 kVoicePacing, 29 kVoicePacing,
30 kExtendedFilter, 30 kExtendedFilter,
31 kDelayAgnostic, 31 kDelayAgnostic,
32 kExperimentalAgc, 32 kExperimentalAgc,
33 kExperimentalNs, 33 kExperimentalNs,
34 kBeamforming, 34 kBeamforming,
35 kIntelligibility, 35 kIntelligibility,
36 kEchoCanceller3, 36 kEchoCanceller3,
37 kAecRefinedAdaptiveFilter 37 kAecRefinedAdaptiveFilter,
38 kLevelControl
38 }; 39 };
39 40
40 // Class Config is designed to ease passing a set of options across webrtc code. 41 // Class Config is designed to ease passing a set of options across webrtc code.
41 // Options are identified by typename in order to avoid incorrect casts. 42 // Options are identified by typename in order to avoid incorrect casts.
42 // 43 //
43 // Usage: 44 // Usage:
44 // * declaring an option: 45 // * declaring an option:
45 // struct Algo1_CostFunction { 46 // struct Algo1_CostFunction {
46 // virtual float cost(int x) const { return x; } 47 // virtual float cost(int x) const { return x; }
47 // virtual ~Algo1_CostFunction() {} 48 // virtual ~Algo1_CostFunction() {}
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 template<typename T> 132 template<typename T>
132 void Config::Set(T* value) { 133 void Config::Set(T* value) {
133 BaseOption*& it = options_[identifier<T>()]; 134 BaseOption*& it = options_[identifier<T>()];
134 delete it; 135 delete it;
135 it = new Option<T>(value); 136 it = new Option<T>(value);
136 } 137 }
137 138
138 } // namespace webrtc 139 } // namespace webrtc
139 140
140 #endif // WEBRTC_COMMON_H_ 141 #endif // WEBRTC_COMMON_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/audio_processing/BUILD.gn » ('j') | webrtc/webrtc_tests.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698