Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(289)

Side by Side Diff: webrtc/modules/audio_coding/codecs/audio_encoder.cc

Issue 2362703002: Adding audio network adaptor to AudioEncoderOpus. (Closed)
Patch Set: adding a missing deps Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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::EnableAudioNetworkAdaptor(const std::string& config_string,
71 const Clock* clock) {
72 return false;
73 }
74
75 void AudioEncoder::DisableAudioNetworkAdaptor() {}
76
77 void AudioEncoder::OnReceivedUplinkBandwidth(int uplink_bandwidth_bps) {}
78
79 void AudioEncoder::OnReceivedUplinkPacketLossFraction(
80 float uplink_packet_loss_fraction) {}
81
82 void AudioEncoder::OnReceivedTargetAudioBitrate(int target_audio_bitrate_bps) {}
83
84 void AudioEncoder::OnReceivedRtt(int rtt_ms) {}
85
86 void AudioEncoder::SetReceiverFrameLengthRange(int min_frame_length_ms,
87 int max_frame_length_ms) {}
88
70 } // namespace webrtc 89 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698