aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Lundin <henrik.lundin@webrtc.org>2016-01-12 16:36:13 +0100
committerHenrik Lundin <henrik.lundin@webrtc.org>2016-01-12 15:36:23 +0000
commite84e96e8be15fb80a1cf37ba6ef70c01cc94199d (patch)
tree92e3a1a072eb1b65a22c9aca38045973841b8cad
parent36220ae24f8f5d34b660d6c4c91dd4260886dcb9 (diff)
downloadwebrtc-e84e96e8be15fb80a1cf37ba6ef70c01cc94199d.tar.gz
NetEq: Fix a typo in a comment
TBR=minyue@webrtc.org NOTRY=true Review URL: https://codereview.webrtc.org/1578223003 . Cr-Commit-Position: refs/heads/master@{#11226}
-rw-r--r--webrtc/modules/audio_coding/neteq/expand.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/webrtc/modules/audio_coding/neteq/expand.cc b/webrtc/modules/audio_coding/neteq/expand.cc
index 2aa9fb0a8d..ef7af46597 100644
--- a/webrtc/modules/audio_coding/neteq/expand.cc
+++ b/webrtc/modules/audio_coding/neteq/expand.cc
@@ -519,7 +519,7 @@ void Expand::AnalyzeSignal(int16_t* random_vector) {
energy2 = WebRtcSpl_DotProductWithScale(vector2, vector2, expansion_length,
correlation_scale);
// Confirm that amplitude ratio sqrt(energy1 / energy2) is within 0.5 - 2.0,
- // i.e., energy1 / energy1 is within 0.25 - 4.
+ // i.e., energy1 / energy2 is within 0.25 - 4.
int16_t amplitude_ratio;
if ((energy1 / 4 < energy2) && (energy1 > energy2 / 4)) {
// Energy constraint fulfilled. Use both vectors and scale them