Use backticks not vertical bars to denote variables in comments for /rtc_base
Bug: webrtc:12338 Change-Id: I72fcb505a92f03b2ace7160ee33d555a977eddfd Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/226955 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Artem Titov <titovartem@webrtc.org> Cr-Commit-Position: refs/heads/master@{#34587}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
22a6b2dcad
commit
96e3b991da
@ -23,8 +23,8 @@ namespace rtc {
|
||||
|
||||
namespace {
|
||||
// Computes the difference x_k - mean(x), when x_k is the linear sequence x_k =
|
||||
// k, and the "mean" is plain mean for the first |window_size| samples, followed
|
||||
// by exponential averaging with weight 1 / |window_size| for each new sample.
|
||||
// k, and the "mean" is plain mean for the first `window_size` samples, followed
|
||||
// by exponential averaging with weight 1 / `window_size` for each new sample.
|
||||
// This is needed to predict the effect of camera clock drift on the timestamp
|
||||
// translation. See the comment on TimestampAligner::UpdateOffset for more
|
||||
// context.
|
||||
@ -160,7 +160,7 @@ TEST(TimestampAlignerTest, ClipToMonotonous) {
|
||||
// translated timestamps in the future. Which is tolerated if
|
||||
// |timestamp_aligner.clip_bias_us| is large enough. Instead of
|
||||
// changing that private member for this test, just add the bias to
|
||||
// |kSystemTimeUs| when calling ClipTimestamp.
|
||||
// `kSystemTimeUs` when calling ClipTimestamp.
|
||||
const int64_t kClipBiasUs = 100000;
|
||||
|
||||
bool did_clip = false;
|
||||
|
||||
Reference in New Issue
Block a user