1 /*
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 
11 #include "modules/audio_processing/include/aec_dump.h"
12 
13 namespace webrtc {
14 InternalAPMConfig::InternalAPMConfig() = default;
15 InternalAPMConfig::InternalAPMConfig(const InternalAPMConfig&) = default;
16 InternalAPMConfig::InternalAPMConfig(InternalAPMConfig&&) = default;
17 InternalAPMConfig& InternalAPMConfig::operator=(const InternalAPMConfig&) =
18     default;
19 
operator ==(const InternalAPMConfig & other)20 bool 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          noise_robust_agc_enabled == other.noise_robust_agc_enabled &&
36          pre_amplifier_enabled == other.pre_amplifier_enabled &&
37          pre_amplifier_fixed_gain_factor ==
38              other.pre_amplifier_fixed_gain_factor &&
39          experiments_description == other.experiments_description;
40 }
41 }  // namespace webrtc
42