mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 05:40:42 +01:00
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:
parent
6f4b4fa18b
commit
10a0bd6b9a
2 changed files with 5 additions and 5 deletions
|
@ -126,8 +126,8 @@ class CustomRateCalculator : public OutputRateCalculator {
|
||||||
const int rate_;
|
const int rate_;
|
||||||
};
|
};
|
||||||
|
|
||||||
// Creates participants from |frames| and |frame_info| and adds them
|
// Creates participants from `frames` and `frame_info` and adds them
|
||||||
// to the mixer. Compares mixed status with |expected_status|
|
// to the mixer. Compares mixed status with `expected_status`
|
||||||
void MixAndCompare(
|
void MixAndCompare(
|
||||||
const std::vector<AudioFrame>& frames,
|
const std::vector<AudioFrame>& frames,
|
||||||
const std::vector<AudioMixer::Source::AudioFrameInfo>& frame_info,
|
const std::vector<AudioMixer::Source::AudioFrameInfo>& frame_info,
|
||||||
|
@ -343,7 +343,7 @@ TEST(AudioMixer, RampedOutSourcesShouldNotBeMarkedMixed) {
|
||||||
for (int i = 0; i < kAudioSources; ++i) {
|
for (int i = 0; i < kAudioSources; ++i) {
|
||||||
ResetFrame(participants[i].fake_frame());
|
ResetFrame(participants[i].fake_frame());
|
||||||
// Set the participant audio energy to increase with the index
|
// Set the participant audio energy to increase with the index
|
||||||
// |i|.
|
// `i`.
|
||||||
participants[i].fake_frame()->mutable_data()[0] = 100 * i;
|
participants[i].fake_frame()->mutable_data()[0] = 100 * i;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -24,8 +24,8 @@ class DefaultOutputRateCalculator : public OutputRateCalculator {
|
||||||
|
|
||||||
// Produces the least native rate greater or equal to the preferred
|
// Produces the least native rate greater or equal to the preferred
|
||||||
// sample rates. A native rate is one in
|
// sample rates. A native rate is one in
|
||||||
// AudioProcessing::NativeRate. If |preferred_sample_rates| is
|
// AudioProcessing::NativeRate. If `preferred_sample_rates` is
|
||||||
// empty, returns |kDefaultFrequency|.
|
// empty, returns `kDefaultFrequency`.
|
||||||
int CalculateOutputRateFromRange(
|
int CalculateOutputRateFromRange(
|
||||||
rtc::ArrayView<const int> preferred_sample_rates) override;
|
rtc::ArrayView<const int> preferred_sample_rates) override;
|
||||||
~DefaultOutputRateCalculator() override {}
|
~DefaultOutputRateCalculator() override {}
|
||||||
|
|
Loading…
Reference in a new issue