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 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 } | 47 } |
48 | 48 |
49 bool AudioEncoder::SetDtx(bool enable) { | 49 bool AudioEncoder::SetDtx(bool enable) { |
50 return !enable; | 50 return !enable; |
51 } | 51 } |
52 | 52 |
53 bool AudioEncoder::GetDtx() const { | 53 bool AudioEncoder::GetDtx() const { |
54 return false; | 54 return false; |
55 } | 55 } |
56 | 56 |
| 57 bool AudioEncoder::SetCbr(bool enable) { |
| 58 return !enable; |
| 59 } |
| 60 |
| 61 bool AudioEncoder::GetCbr() const { |
| 62 return false; |
| 63 } |
| 64 |
57 bool AudioEncoder::SetApplication(Application application) { | 65 bool AudioEncoder::SetApplication(Application application) { |
58 return false; | 66 return false; |
59 } | 67 } |
60 | 68 |
61 void AudioEncoder::SetMaxPlaybackRate(int frequency_hz) {} | 69 void AudioEncoder::SetMaxPlaybackRate(int frequency_hz) {} |
62 | 70 |
63 void AudioEncoder::SetTargetBitrate(int target_bps) {} | 71 void AudioEncoder::SetTargetBitrate(int target_bps) {} |
64 | 72 |
65 rtc::ArrayView<std::unique_ptr<AudioEncoder>> | 73 rtc::ArrayView<std::unique_ptr<AudioEncoder>> |
66 AudioEncoder::ReclaimContainedEncoders() { return nullptr; } | 74 AudioEncoder::ReclaimContainedEncoders() { return nullptr; } |
(...skipping 18 matching lines...) Expand all Loading... |
85 rtc::Optional<int64_t> probing_interval_ms) {} | 93 rtc::Optional<int64_t> probing_interval_ms) {} |
86 | 94 |
87 void AudioEncoder::OnReceivedRtt(int rtt_ms) {} | 95 void AudioEncoder::OnReceivedRtt(int rtt_ms) {} |
88 | 96 |
89 void AudioEncoder::OnReceivedOverhead(size_t overhead_bytes_per_packet) {} | 97 void AudioEncoder::OnReceivedOverhead(size_t overhead_bytes_per_packet) {} |
90 | 98 |
91 void AudioEncoder::SetReceiverFrameLengthRange(int min_frame_length_ms, | 99 void AudioEncoder::SetReceiverFrameLengthRange(int min_frame_length_ms, |
92 int max_frame_length_ms) {} | 100 int max_frame_length_ms) {} |
93 | 101 |
94 } // namespace webrtc | 102 } // namespace webrtc |
OLD | NEW |