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 |
11 #include "webrtc/api/audio_codecs/audio_encoder.h" | 11 #include "webrtc/api/audio_codecs/audio_encoder.h" |
12 | 12 |
13 #include "webrtc/rtc_base/checks.h" | 13 #include "webrtc/rtc_base/checks.h" |
14 #include "webrtc/rtc_base/trace_event.h" | 14 #include "webrtc/rtc_base/trace_event.h" |
15 | 15 |
16 namespace webrtc { | 16 namespace webrtc { |
17 | 17 |
| 18 ANAStats::ANAStats() = default; |
| 19 ANAStats::~ANAStats() = default; |
| 20 ANAStats::ANAStats(const ANAStats&) = default; |
| 21 |
18 AudioEncoder::EncodedInfo::EncodedInfo() = default; | 22 AudioEncoder::EncodedInfo::EncodedInfo() = default; |
19 AudioEncoder::EncodedInfo::EncodedInfo(const EncodedInfo&) = default; | 23 AudioEncoder::EncodedInfo::EncodedInfo(const EncodedInfo&) = default; |
20 AudioEncoder::EncodedInfo::EncodedInfo(EncodedInfo&&) = default; | 24 AudioEncoder::EncodedInfo::EncodedInfo(EncodedInfo&&) = default; |
21 AudioEncoder::EncodedInfo::~EncodedInfo() = default; | 25 AudioEncoder::EncodedInfo::~EncodedInfo() = default; |
22 AudioEncoder::EncodedInfo& AudioEncoder::EncodedInfo::operator=( | 26 AudioEncoder::EncodedInfo& AudioEncoder::EncodedInfo::operator=( |
23 const EncodedInfo&) = default; | 27 const EncodedInfo&) = default; |
24 AudioEncoder::EncodedInfo& AudioEncoder::EncodedInfo::operator=(EncodedInfo&&) = | 28 AudioEncoder::EncodedInfo& AudioEncoder::EncodedInfo::operator=(EncodedInfo&&) = |
25 default; | 29 default; |
26 | 30 |
27 int AudioEncoder::RtpTimestampRateHz() const { | 31 int AudioEncoder::RtpTimestampRateHz() const { |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 int target_audio_bitrate_bps, | 92 int target_audio_bitrate_bps, |
89 rtc::Optional<int64_t> bwe_period_ms) {} | 93 rtc::Optional<int64_t> bwe_period_ms) {} |
90 | 94 |
91 void AudioEncoder::OnReceivedRtt(int rtt_ms) {} | 95 void AudioEncoder::OnReceivedRtt(int rtt_ms) {} |
92 | 96 |
93 void AudioEncoder::OnReceivedOverhead(size_t overhead_bytes_per_packet) {} | 97 void AudioEncoder::OnReceivedOverhead(size_t overhead_bytes_per_packet) {} |
94 | 98 |
95 void AudioEncoder::SetReceiverFrameLengthRange(int min_frame_length_ms, | 99 void AudioEncoder::SetReceiverFrameLengthRange(int min_frame_length_ms, |
96 int max_frame_length_ms) {} | 100 int max_frame_length_ms) {} |
97 | 101 |
| 102 ANAStats AudioEncoder::GetANAStats() const { |
| 103 return ANAStats(); |
| 104 } |
| 105 |
98 } // namespace webrtc | 106 } // namespace webrtc |
OLD | NEW |