| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2014 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 "Activate (1) or deactivate(0) the AEC delay agnostic mode"); | 106 "Activate (1) or deactivate(0) the AEC delay agnostic mode"); |
| 107 DEFINE_int32(extended_filter, | 107 DEFINE_int32(extended_filter, |
| 108 kParameterNotSpecifiedValue, | 108 kParameterNotSpecifiedValue, |
| 109 "Activate (1) or deactivate(0) the AEC extended filter mode"); | 109 "Activate (1) or deactivate(0) the AEC extended filter mode"); |
| 110 DEFINE_int32(drift_compensation, | 110 DEFINE_int32(drift_compensation, |
| 111 kParameterNotSpecifiedValue, | 111 kParameterNotSpecifiedValue, |
| 112 "Activate (1) or deactivate(0) the drift compensation"); | 112 "Activate (1) or deactivate(0) the drift compensation"); |
| 113 DEFINE_int32(aec3, | 113 DEFINE_int32(aec3, |
| 114 kParameterNotSpecifiedValue, | 114 kParameterNotSpecifiedValue, |
| 115 "Activate (1) or deactivate(0) the experimental AEC mode AEC3"); | 115 "Activate (1) or deactivate(0) the experimental AEC mode AEC3"); |
| 116 DEFINE_int32(lc, |
| 117 kParameterNotSpecifiedValue, |
| 118 "Activate (1) or deactivate(0) the level control"); |
| 116 DEFINE_int32( | 119 DEFINE_int32( |
| 117 refined_adaptive_filter, | 120 refined_adaptive_filter, |
| 118 kParameterNotSpecifiedValue, | 121 kParameterNotSpecifiedValue, |
| 119 "Activate (1) or deactivate(0) the refined adaptive filter functionality"); | 122 "Activate (1) or deactivate(0) the refined adaptive filter functionality"); |
| 120 DEFINE_int32(aecm_routing_mode, | 123 DEFINE_int32(aecm_routing_mode, |
| 121 kParameterNotSpecifiedValue, | 124 kParameterNotSpecifiedValue, |
| 122 "Specify the AECM routing mode (0-4)"); | 125 "Specify the AECM routing mode (0-4)"); |
| 123 DEFINE_int32(aecm_comfort_noise, | 126 DEFINE_int32(aecm_comfort_noise, |
| 124 kParameterNotSpecifiedValue, | 127 kParameterNotSpecifiedValue, |
| 125 "Activate (1) or deactivate(0) the AECM comfort noise"); | 128 "Activate (1) or deactivate(0) the AECM comfort noise"); |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 SetSettingIfSpecified(FLAGS_aec_suppression_level, | 226 SetSettingIfSpecified(FLAGS_aec_suppression_level, |
| 224 &settings.aec_suppression_level); | 227 &settings.aec_suppression_level); |
| 225 SetSettingIfFlagSet(FLAGS_delay_agnostic, &settings.use_delay_agnostic); | 228 SetSettingIfFlagSet(FLAGS_delay_agnostic, &settings.use_delay_agnostic); |
| 226 SetSettingIfFlagSet(FLAGS_extended_filter, &settings.use_extended_filter); | 229 SetSettingIfFlagSet(FLAGS_extended_filter, &settings.use_extended_filter); |
| 227 SetSettingIfFlagSet(FLAGS_drift_compensation, | 230 SetSettingIfFlagSet(FLAGS_drift_compensation, |
| 228 &settings.use_drift_compensation); | 231 &settings.use_drift_compensation); |
| 229 SetSettingIfFlagSet(FLAGS_refined_adaptive_filter, | 232 SetSettingIfFlagSet(FLAGS_refined_adaptive_filter, |
| 230 &settings.use_refined_adaptive_filter); | 233 &settings.use_refined_adaptive_filter); |
| 231 | 234 |
| 232 SetSettingIfFlagSet(FLAGS_aec3, &settings.use_aec3); | 235 SetSettingIfFlagSet(FLAGS_aec3, &settings.use_aec3); |
| 236 SetSettingIfFlagSet(FLAGS_lc, &settings.use_lc); |
| 233 SetSettingIfSpecified(FLAGS_aecm_routing_mode, &settings.aecm_routing_mode); | 237 SetSettingIfSpecified(FLAGS_aecm_routing_mode, &settings.aecm_routing_mode); |
| 234 SetSettingIfFlagSet(FLAGS_aecm_comfort_noise, | 238 SetSettingIfFlagSet(FLAGS_aecm_comfort_noise, |
| 235 &settings.use_aecm_comfort_noise); | 239 &settings.use_aecm_comfort_noise); |
| 236 SetSettingIfSpecified(FLAGS_agc_mode, &settings.agc_mode); | 240 SetSettingIfSpecified(FLAGS_agc_mode, &settings.agc_mode); |
| 237 SetSettingIfSpecified(FLAGS_agc_target_level, &settings.agc_target_level); | 241 SetSettingIfSpecified(FLAGS_agc_target_level, &settings.agc_target_level); |
| 238 SetSettingIfFlagSet(FLAGS_agc_limiter, &settings.use_agc_limiter); | 242 SetSettingIfFlagSet(FLAGS_agc_limiter, &settings.use_agc_limiter); |
| 239 SetSettingIfSpecified(FLAGS_agc_compression_gain, | 243 SetSettingIfSpecified(FLAGS_agc_compression_gain, |
| 240 &settings.agc_compression_gain); | 244 &settings.agc_compression_gain); |
| 241 SetSettingIfSpecified(FLAGS_vad_likelihood, &settings.vad_likelihood); | 245 SetSettingIfSpecified(FLAGS_vad_likelihood, &settings.vad_likelihood); |
| 242 SetSettingIfSpecified(FLAGS_ns_level, &settings.ns_level); | 246 SetSettingIfSpecified(FLAGS_ns_level, &settings.ns_level); |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 423 | 427 |
| 424 return 0; | 428 return 0; |
| 425 } | 429 } |
| 426 | 430 |
| 427 } // namespace test | 431 } // namespace test |
| 428 } // namespace webrtc | 432 } // namespace webrtc |
| 429 | 433 |
| 430 int main(int argc, char* argv[]) { | 434 int main(int argc, char* argv[]) { |
| 431 return webrtc::test::main(argc, argv); | 435 return webrtc::test::main(argc, argv); |
| 432 } | 436 } |
| OLD | NEW |