Use backticks not vertical bars to denote variables in comments for /modules/audio_mixer

Bug: webrtc:12338
Change-Id: I88c0824451f1448590df0f57bb094d39dffece66
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/227093
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Artem Titov <titovartem@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#34623}
This commit is contained in:
Artem Titov 2021-07-28 20:25:13 +02:00 committed by WebRTC LUCI CQ
parent 6f4b4fa18b
commit 10a0bd6b9a
2 changed files with 5 additions and 5 deletions

View file

@ -126,8 +126,8 @@ class CustomRateCalculator : public OutputRateCalculator {
const int rate_;
};
// Creates participants from |frames| and |frame_info| and adds them
// to the mixer. Compares mixed status with |expected_status|
// Creates participants from `frames` and `frame_info` and adds them
// to the mixer. Compares mixed status with `expected_status`
void MixAndCompare(
const std::vector<AudioFrame>& frames,
const std::vector<AudioMixer::Source::AudioFrameInfo>& frame_info,
@ -343,7 +343,7 @@ TEST(AudioMixer, RampedOutSourcesShouldNotBeMarkedMixed) {
for (int i = 0; i < kAudioSources; ++i) {
ResetFrame(participants[i].fake_frame());
// Set the participant audio energy to increase with the index
// |i|.
// `i`.
participants[i].fake_frame()->mutable_data()[0] = 100 * i;
}

View file

@ -24,8 +24,8 @@ class DefaultOutputRateCalculator : public OutputRateCalculator {
// Produces the least native rate greater or equal to the preferred
// sample rates. A native rate is one in
// AudioProcessing::NativeRate. If |preferred_sample_rates| is
// empty, returns |kDefaultFrequency|.
// AudioProcessing::NativeRate. If `preferred_sample_rates` is
// empty, returns `kDefaultFrequency`.
int CalculateOutputRateFromRange(
rtc::ArrayView<const int> preferred_sample_rates) override;
~DefaultOutputRateCalculator() override {}