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/modules/audio_coding/codecs/audio_encoder.h" | 11 #include "webrtc/api/audio_codecs/audio_encoder.h" |
12 | 12 |
13 #include "webrtc/base/checks.h" | 13 #include "webrtc/base/checks.h" |
14 #include "webrtc/base/trace_event.h" | 14 #include "webrtc/base/trace_event.h" |
15 | 15 |
16 namespace webrtc { | 16 namespace webrtc { |
17 | 17 |
18 AudioEncoder::EncodedInfo::EncodedInfo() = default; | 18 AudioEncoder::EncodedInfo::EncodedInfo() = default; |
19 AudioEncoder::EncodedInfo::EncodedInfo(const EncodedInfo&) = default; | 19 AudioEncoder::EncodedInfo::EncodedInfo(const EncodedInfo&) = default; |
20 AudioEncoder::EncodedInfo::EncodedInfo(EncodedInfo&&) = default; | 20 AudioEncoder::EncodedInfo::EncodedInfo(EncodedInfo&&) = default; |
21 AudioEncoder::EncodedInfo::~EncodedInfo() = default; | 21 AudioEncoder::EncodedInfo::~EncodedInfo() = default; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 | 56 |
57 bool AudioEncoder::SetApplication(Application application) { | 57 bool AudioEncoder::SetApplication(Application application) { |
58 return false; | 58 return false; |
59 } | 59 } |
60 | 60 |
61 void AudioEncoder::SetMaxPlaybackRate(int frequency_hz) {} | 61 void AudioEncoder::SetMaxPlaybackRate(int frequency_hz) {} |
62 | 62 |
63 void AudioEncoder::SetTargetBitrate(int target_bps) {} | 63 void AudioEncoder::SetTargetBitrate(int target_bps) {} |
64 | 64 |
65 rtc::ArrayView<std::unique_ptr<AudioEncoder>> | 65 rtc::ArrayView<std::unique_ptr<AudioEncoder>> |
66 AudioEncoder::ReclaimContainedEncoders() { return nullptr; } | 66 AudioEncoder::ReclaimContainedEncoders() { |
| 67 return nullptr; |
| 68 } |
67 | 69 |
68 bool AudioEncoder::EnableAudioNetworkAdaptor(const std::string& config_string, | 70 bool AudioEncoder::EnableAudioNetworkAdaptor(const std::string& config_string, |
69 RtcEventLog* event_log, | 71 RtcEventLog* event_log, |
70 const Clock* clock) { | 72 const Clock* clock) { |
71 return false; | 73 return false; |
72 } | 74 } |
73 | 75 |
74 void AudioEncoder::DisableAudioNetworkAdaptor() {} | 76 void AudioEncoder::DisableAudioNetworkAdaptor() {} |
75 | 77 |
76 void AudioEncoder::OnReceivedUplinkPacketLossFraction( | 78 void AudioEncoder::OnReceivedUplinkPacketLossFraction( |
(...skipping 11 matching lines...) Expand all Loading... |
88 rtc::Optional<int64_t> probing_interval_ms) {} | 90 rtc::Optional<int64_t> probing_interval_ms) {} |
89 | 91 |
90 void AudioEncoder::OnReceivedRtt(int rtt_ms) {} | 92 void AudioEncoder::OnReceivedRtt(int rtt_ms) {} |
91 | 93 |
92 void AudioEncoder::OnReceivedOverhead(size_t overhead_bytes_per_packet) {} | 94 void AudioEncoder::OnReceivedOverhead(size_t overhead_bytes_per_packet) {} |
93 | 95 |
94 void AudioEncoder::SetReceiverFrameLengthRange(int min_frame_length_ms, | 96 void AudioEncoder::SetReceiverFrameLengthRange(int min_frame_length_ms, |
95 int max_frame_length_ms) {} | 97 int max_frame_length_ms) {} |
96 | 98 |
97 } // namespace webrtc | 99 } // namespace webrtc |
OLD | NEW |