1 /*
2  *  Copyright (c) 2016 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_coding/audio_network_adaptor/include/audio_network_adaptor_config.h"
12 
13 namespace webrtc {
14 
15 AudioEncoderRuntimeConfig::AudioEncoderRuntimeConfig() = default;
16 
17 AudioEncoderRuntimeConfig::AudioEncoderRuntimeConfig(
18     const AudioEncoderRuntimeConfig& other) = default;
19 
20 AudioEncoderRuntimeConfig::~AudioEncoderRuntimeConfig() = default;
21 
22 AudioEncoderRuntimeConfig& AudioEncoderRuntimeConfig::operator=(
23     const AudioEncoderRuntimeConfig& other) = default;
24 
operator ==(const AudioEncoderRuntimeConfig & other) const25 bool AudioEncoderRuntimeConfig::operator==(
26     const AudioEncoderRuntimeConfig& other) const {
27   return bitrate_bps == other.bitrate_bps &&
28          frame_length_ms == other.frame_length_ms &&
29          uplink_packet_loss_fraction == other.uplink_packet_loss_fraction &&
30          enable_fec == other.enable_fec && enable_dtx == other.enable_dtx &&
31          num_channels == other.num_channels;
32 }
33 
34 }  // namespace webrtc
35