Use backticks not vertical bars to denote variables in comments
Bug: webrtc:12338 Change-Id: I89c8b3a328d04203177522cbdfd9e606fd4bce4c Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/228246 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Artem Titov <titovartem@webrtc.org> Cr-Commit-Position: refs/heads/master@{#34696}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
603e6e3ffc
commit
cfea2182f8
@ -85,7 +85,7 @@ TEST(AnaBitrateControllerTest, ChangeBitrateOnTargetBitrateChanged) {
|
||||
1000 /
|
||||
kInitialFrameLengthMs;
|
||||
// Frame length unchanged, bitrate changes in accordance with
|
||||
// |metrics.target_audio_bitrate_bps| and |metrics.overhead_bytes_per_packet|.
|
||||
// `metrics.target_audio_bitrate_bps` and `metrics.overhead_bytes_per_packet`.
|
||||
UpdateNetworkMetrics(&controller, kTargetBitrateBps, kOverheadBytesPerPacket);
|
||||
CheckDecision(&controller, kInitialFrameLengthMs, kBitrateBps);
|
||||
}
|
||||
|
||||
@ -169,7 +169,7 @@ message Controller {
|
||||
// Shorter distance means higher significance. The significances of
|
||||
// controllers determine their order in the processing pipeline. Controllers
|
||||
// without `scoring_point` follow their default order in
|
||||
// |ControllerManager::controllers|.
|
||||
// `ControllerManager::controllers`.
|
||||
optional ScoringPoint scoring_point = 1;
|
||||
|
||||
oneof controller {
|
||||
|
||||
@ -101,7 +101,7 @@ void UpdateNetworkMetrics(FecControllerPlrBasedTestStates* states,
|
||||
}
|
||||
|
||||
// Checks that the FEC decision and `uplink_packet_loss_fraction` given by
|
||||
// |states->controller->MakeDecision| matches `expected_enable_fec` and
|
||||
// `states->controller->MakeDecision` matches `expected_enable_fec` and
|
||||
// `expected_uplink_packet_loss_fraction`, respectively.
|
||||
void CheckDecision(FecControllerPlrBasedTestStates* states,
|
||||
bool expected_enable_fec,
|
||||
|
||||
Reference in New Issue
Block a user