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
@ -195,7 +195,7 @@ bool ComfortNoiseDecoder::Generate(rtc::ArrayView<int16_t> out_data,
|
||||
|
||||
/* `lpPoly` - Coefficients in Q12.
|
||||
* `excitation` - Speech samples.
|
||||
* |nst->dec_filtstate| - State preservation.
|
||||
* `nst->dec_filtstate` - State preservation.
|
||||
* `out_data` - Filtered speech samples. */
|
||||
WebRtcSpl_FilterAR(lpPoly, WEBRTC_CNG_MAX_LPC_ORDER + 1, excitation,
|
||||
num_samples, dec_filtstate_, WEBRTC_CNG_MAX_LPC_ORDER,
|
||||
|
||||
@ -140,9 +140,9 @@ static void FilterSegment(const double* in_data, PitchFilterParam* parameters,
|
||||
int j;
|
||||
double sum;
|
||||
double sum2;
|
||||
/* Index of |parameters->buffer| where the output is written to. */
|
||||
/* Index of `parameters->buffer` where the output is written to. */
|
||||
int pos = parameters->index + PITCH_BUFFSIZE;
|
||||
/* Index of |parameters->buffer| where samples are read for fractional-lag
|
||||
/* Index of `parameters->buffer` where samples are read for fractional-lag
|
||||
* computation. */
|
||||
int pos_lag = pos - parameters->lag_offset;
|
||||
|
||||
@ -174,9 +174,9 @@ static void FilterSegment(const double* in_data, PitchFilterParam* parameters,
|
||||
/* Filter for fractional pitch. */
|
||||
sum2 = 0.0;
|
||||
for (m = PITCH_FRACORDER-1; m >= m_tmp; --m) {
|
||||
/* |lag_index + m| is always larger than or equal to zero, see how
|
||||
/* `lag_index + m` is always larger than or equal to zero, see how
|
||||
* m_tmp is computed. This is equivalent to assume samples outside
|
||||
* |out_dg[j]| are zero. */
|
||||
* `out_dg[j]` are zero. */
|
||||
sum2 += out_dg[j][lag_index + m] * parameters->interpol_coeff[m];
|
||||
}
|
||||
/* Add the contribution of differential gain change. */
|
||||
|
||||
@ -139,7 +139,7 @@ class AudioEncoderOpusImpl final : public AudioEncoder {
|
||||
absl::optional<int64_t> link_capacity_allocation);
|
||||
|
||||
// TODO(minyue): remove "override" when we can deprecate
|
||||
// |AudioEncoder::SetTargetBitrate|.
|
||||
// `AudioEncoder::SetTargetBitrate`.
|
||||
void SetTargetBitrate(int target_bps) override;
|
||||
|
||||
void ApplyAudioNetworkAdaptor();
|
||||
|
||||
@ -116,7 +116,7 @@ class OpusTest
|
||||
void TestCbrEffect(bool dtx, int block_length_ms);
|
||||
|
||||
// Prepare `speech_data_` for encoding, read from a hard-coded file.
|
||||
// After preparation, |speech_data_.GetNextBlock()| returns a pointer to a
|
||||
// After preparation, `speech_data_.GetNextBlock()` returns a pointer to a
|
||||
// block of `block_length_ms` milliseconds. The data is looped every
|
||||
// `loop_length_ms` milliseconds.
|
||||
void PrepareSpeechData(int block_length_ms, int loop_length_ms);
|
||||
|
||||
Reference in New Issue
Block a user