summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2017-06-01 17:56:31 -0400
committerJean-Marc Valin <jmvalin@jmvalin.ca>2017-06-01 17:56:31 -0400
commitcf86d25882b648510a235a5cbc9615259716546e (patch)
tree5aee8c6d690629d987ab3d59c984da68714aac78
parent7be054b7ff71768ea9c8e325de827af764100950 (diff)
downloadopus-cf86d25882b648510a235a5cbc9615259716546e.tar.gz
fix comments
-rw-r--r--src/analysis.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/analysis.c b/src/analysis.c
index 7591baa7..f0a04dc6 100644
--- a/src/analysis.c
+++ b/src/analysis.c
@@ -581,10 +581,10 @@ static void tonality_analysis(TonalityAnalysisState *tonal, const CELTMode *celt
celt_assert(NB_TBANDS+1 <= LEAK_BANDS);
for (b=0;b<NB_TBANDS+1;b++)
{
- /* leak_boost[] is made up of two terms. The first, based on leakage_high[],
+ /* leak_boost[] is made up of two terms. The first, based on leakage_to[],
represents the boost needed to overcome the amount of analysis leakage
- cause in a weaker band b by louder neighroubing bands.
- The second, based on leakage_low[], applies to a loud band b for
+ cause in a weaker band b by louder neighbouring bands.
+ The second, based on leakage_from[], applies to a loud band b for
which the quantization noise causes synthesis leakage to the weaker
neighbouring bands. */
float boost = MAX16(0, leakage_to[b] - band_log2[b]) +