OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2015 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 |
11 #include "webrtc/api/call/audio_send_stream.h" | 11 #include "webrtc/call/audio_send_stream.h" |
12 | 12 |
13 #include <string> | 13 #include <string> |
14 | 14 |
15 namespace { | 15 namespace { |
16 | 16 |
17 std::string ToString(const webrtc::CodecInst& codec_inst) { | 17 std::string ToString(const webrtc::CodecInst& codec_inst) { |
18 std::stringstream ss; | 18 std::stringstream ss; |
19 ss << "{pltype: " << codec_inst.pltype; | 19 ss << "{pltype: " << codec_inst.pltype; |
20 ss << ", plname: \"" << codec_inst.plname << "\""; | 20 ss << ", plname: \"" << codec_inst.plname << "\""; |
21 ss << ", plfreq: " << codec_inst.plfreq; | 21 ss << ", plfreq: " << codec_inst.plfreq; |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 enable_opus_dtx == rhs.enable_opus_dtx && | 100 enable_opus_dtx == rhs.enable_opus_dtx && |
101 opus_max_playback_rate == rhs.opus_max_playback_rate && | 101 opus_max_playback_rate == rhs.opus_max_playback_rate && |
102 cng_payload_type == rhs.cng_payload_type && | 102 cng_payload_type == rhs.cng_payload_type && |
103 cng_plfreq == rhs.cng_plfreq && max_ptime_ms == rhs.max_ptime_ms && | 103 cng_plfreq == rhs.cng_plfreq && max_ptime_ms == rhs.max_ptime_ms && |
104 min_ptime_ms == rhs.min_ptime_ms && codec_inst == rhs.codec_inst) { | 104 min_ptime_ms == rhs.min_ptime_ms && codec_inst == rhs.codec_inst) { |
105 return true; | 105 return true; |
106 } | 106 } |
107 return false; | 107 return false; |
108 } | 108 } |
109 } // namespace webrtc | 109 } // namespace webrtc |
OLD | NEW |