summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2018-02-21 03:15:52 -0500
committerJean-Marc Valin <jmvalin@jmvalin.ca>2018-02-21 03:15:52 -0500
commite3e1f89029a997e1b58f03c38f43352a85861c6a (patch)
tree7d4b83625ef99235d35e7a698ac9a5c89d3aadaf /src
parent59b1a521f4909f959e6968c14dc7e618d0df461b (diff)
downloadopus-e3e1f89029a997e1b58f03c38f43352a85861c6a.tar.gz
Fix comment to take into account previous commit
Diffstat (limited to 'src')
-rw-r--r--src/opus_encoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opus_encoder.c b/src/opus_encoder.c
index 694ff7e3..fb2c8213 100644
--- a/src/opus_encoder.c
+++ b/src/opus_encoder.c
@@ -814,7 +814,7 @@ static int compute_silk_rate_for_hybrid(int rate, int bandwidth, int frame20ms,
if (bandwidth==OPUS_BANDWIDTH_SUPERWIDEBAND)
silk_rate += 300;
silk_rate *= channels;
- /* The CELT layer saves a bit more than SILK for stereo, so we boost SILK. */
+ /* Small adjustment for stereo (calibrated for 32 kb/s, haven't tried other bitrates). */
if (channels == 2 && rate >= 12000)
silk_rate -= 1000;
return silk_rate;