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

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

Issue 2746333009: OnReceivedUplinkPacketLossFraction() receives [const rtc::Optional<float>&] (Closed)
Patch Set: Rebased Created 3 years, 9 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 67
68 bool AudioEncoder::EnableAudioNetworkAdaptor(const std::string& config_string, 68 bool AudioEncoder::EnableAudioNetworkAdaptor(const std::string& config_string,
69 RtcEventLog* event_log, 69 RtcEventLog* event_log,
70 const Clock* clock) { 70 const Clock* clock) {
71 return false; 71 return false;
72 } 72 }
73 73
74 void AudioEncoder::DisableAudioNetworkAdaptor() {} 74 void AudioEncoder::DisableAudioNetworkAdaptor() {}
75 75
76 void AudioEncoder::OnReceivedUplinkPacketLossFraction( 76 void AudioEncoder::OnReceivedUplinkPacketLossFraction(
77 float uplink_packet_loss_fraction) {} 77 const rtc::Optional<float>& uplink_packet_loss_fraction) {}
78 78
79 void AudioEncoder::OnReceivedTargetAudioBitrate(int target_audio_bitrate_bps) { 79 void AudioEncoder::OnReceivedTargetAudioBitrate(int target_audio_bitrate_bps) {
80 OnReceivedUplinkBandwidth(target_audio_bitrate_bps, rtc::Optional<int64_t>()); 80 OnReceivedUplinkBandwidth(target_audio_bitrate_bps, rtc::Optional<int64_t>());
81 } 81 }
82 82
83 void AudioEncoder::OnReceivedUplinkBandwidth( 83 void AudioEncoder::OnReceivedUplinkBandwidth(
84 int target_audio_bitrate_bps, 84 int target_audio_bitrate_bps,
85 rtc::Optional<int64_t> probing_interval_ms) {} 85 rtc::Optional<int64_t> probing_interval_ms) {}
86 86
87 void AudioEncoder::OnReceivedRtt(int rtt_ms) {} 87 void AudioEncoder::OnReceivedRtt(int rtt_ms) {}
88 88
89 void AudioEncoder::OnReceivedOverhead(size_t overhead_bytes_per_packet) {} 89 void AudioEncoder::OnReceivedOverhead(size_t overhead_bytes_per_packet) {}
90 90
91 void AudioEncoder::SetReceiverFrameLengthRange(int min_frame_length_ms, 91 void AudioEncoder::SetReceiverFrameLengthRange(int min_frame_length_ms,
92 int max_frame_length_ms) {} 92 int max_frame_length_ms) {}
93 93
94 } // namespace webrtc 94 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/audio_coding/codecs/audio_encoder.h ('k') | webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698