Chromium Code Reviews| 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 60 | 60 |
| 61 void AudioEncoder::SetMaxPlaybackRate(int frequency_hz) {} | 61 void AudioEncoder::SetMaxPlaybackRate(int frequency_hz) {} |
| 62 | 62 |
| 63 void AudioEncoder::SetProjectedPacketLossRate(double fraction) {} | 63 void AudioEncoder::SetProjectedPacketLossRate(double fraction) {} |
| 64 | 64 |
| 65 void AudioEncoder::SetTargetBitrate(int target_bps) {} | 65 void AudioEncoder::SetTargetBitrate(int target_bps) {} |
| 66 | 66 |
| 67 rtc::ArrayView<std::unique_ptr<AudioEncoder>> | 67 rtc::ArrayView<std::unique_ptr<AudioEncoder>> |
| 68 AudioEncoder::ReclaimContainedEncoders() { return nullptr; } | 68 AudioEncoder::ReclaimContainedEncoders() { return nullptr; } |
| 69 | 69 |
| 70 bool AudioEncoder::SetAudioNetworkAdaptor(bool enable) { | |
| 71 return false; | |
| 72 } | |
|
kwiberg-webrtc
2016/09/27 09:35:54
Wouldn't
return !enable;
be a better choice fo
minyue-webrtc
2016/09/27 16:02:32
True. Will change.
minyue-webrtc
2016/09/29 15:34:24
since I split it into two functions now. The probl
| |
| 73 | |
| 74 void AudioEncoder::OnReceivedUplinkBandwidth(int uplink_bandwidth_bps) {} | |
| 75 | |
| 76 void AudioEncoder::OnReceivedUplinkPacketLossFraction( | |
| 77 float uplink_packet_loss_fraction) {} | |
| 78 | |
| 79 void AudioEncoder::OnReceivedTargetAudioBitrate(int target_audio_bitrate_bps) {} | |
| 80 | |
| 81 void AudioEncoder::OnReceivedRtt(int rtt_ms) {} | |
| 82 | |
| 83 void AudioEncoder::SetReceiverFrameLengthRange(int min_frame_length_ms, | |
| 84 int max_frame_length_ms) {} | |
| 85 | |
| 70 } // namespace webrtc | 86 } // namespace webrtc |
| OLD | NEW |