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

Side by Side Diff: webrtc/common.h

Issue 1887003002: Added support in the AEC for refined filter adaptation. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Corrected the issue with the missing const specifier in the header file Created 4 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) 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 14 matching lines...) Expand all
25 kTemporalLayersFactory, 25 kTemporalLayersFactory,
26 kNetEqCapacityConfig, 26 kNetEqCapacityConfig,
27 kNetEqFastAccelerate, 27 kNetEqFastAccelerate,
28 kVoicePacing, 28 kVoicePacing,
29 kExtendedFilter, 29 kExtendedFilter,
30 kDelayAgnostic, 30 kDelayAgnostic,
31 kExperimentalAgc, 31 kExperimentalAgc,
32 kExperimentalNs, 32 kExperimentalNs,
33 kBeamforming, 33 kBeamforming,
34 kIntelligibility, 34 kIntelligibility,
35 kEchoCanceller3 35 kEchoCanceller3,
36 kAecRefinedAdaptiveFilter
36 }; 37 };
37 38
38 // Class Config is designed to ease passing a set of options across webrtc code. 39 // Class Config is designed to ease passing a set of options across webrtc code.
39 // Options are identified by typename in order to avoid incorrect casts. 40 // Options are identified by typename in order to avoid incorrect casts.
40 // 41 //
41 // Usage: 42 // Usage:
42 // * declaring an option: 43 // * declaring an option:
43 // struct Algo1_CostFunction { 44 // struct Algo1_CostFunction {
44 // virtual float cost(int x) const { return x; } 45 // virtual float cost(int x) const { return x; }
45 // virtual ~Algo1_CostFunction() {} 46 // virtual ~Algo1_CostFunction() {}
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 template<typename T> 130 template<typename T>
130 void Config::Set(T* value) { 131 void Config::Set(T* value) {
131 BaseOption*& it = options_[identifier<T>()]; 132 BaseOption*& it = options_[identifier<T>()];
132 delete it; 133 delete it;
133 it = new Option<T>(value); 134 it = new Option<T>(value);
134 } 135 }
135 136
136 } // namespace webrtc 137 } // namespace webrtc
137 138
138 #endif // WEBRTC_COMMON_H_ 139 #endif // WEBRTC_COMMON_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/audio_processing/aec/aec_core.h » ('j') | webrtc/modules/audio_processing/aec/aec_core.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698