blob: c243b523a37b8520489886e3a19dd7da4bac4ddd [file] [log] [blame]
aleloi868f32f2017-05-23 07:20:05 -07001/*
2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
3 *
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
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
Mirko Bonadei92ea95e2017-09-15 06:47:31 +020011#include "modules/audio_processing/include/aec_dump.h"
aleloi868f32f2017-05-23 07:20:05 -070012
13namespace webrtc {
14InternalAPMConfig::InternalAPMConfig() = default;
15InternalAPMConfig::InternalAPMConfig(const InternalAPMConfig&) = default;
16InternalAPMConfig::InternalAPMConfig(InternalAPMConfig&&) = default;
17InternalAPMConfig& InternalAPMConfig::operator=(const InternalAPMConfig&) =
18 default;
19
20bool InternalAPMConfig::operator==(const InternalAPMConfig& other) {
21 return aec_enabled == other.aec_enabled &&
22 aec_delay_agnostic_enabled == other.aec_delay_agnostic_enabled &&
23 aec_drift_compensation_enabled ==
24 other.aec_drift_compensation_enabled &&
25 aec_extended_filter_enabled == other.aec_extended_filter_enabled &&
26 aec_suppression_level == other.aec_suppression_level &&
27 aecm_enabled == other.aecm_enabled &&
28 aecm_comfort_noise_enabled == other.aecm_comfort_noise_enabled &&
29 aecm_routing_mode == other.aecm_routing_mode &&
30 agc_enabled == other.agc_enabled && agc_mode == other.agc_mode &&
31 agc_limiter_enabled == other.agc_limiter_enabled &&
32 hpf_enabled == other.hpf_enabled && ns_enabled == other.ns_enabled &&
33 ns_level == other.ns_level &&
34 transient_suppression_enabled == other.transient_suppression_enabled &&
35 intelligibility_enhancer_enabled ==
36 other.intelligibility_enhancer_enabled &&
37 noise_robust_agc_enabled == other.noise_robust_agc_enabled &&
Alex Loiko5feb30e2018-04-16 13:52:32 +020038 pre_amplifier_enabled == other.pre_amplifier_enabled &&
39 pre_amplifier_fixed_gain_factor ==
40 other.pre_amplifier_fixed_gain_factor &&
aleloi868f32f2017-05-23 07:20:05 -070041 experiments_description == other.experiments_description;
42}
43} // namespace webrtc