shithub: opus

Download patch

ref: e3e1f89029a997e1b58f03c38f43352a85861c6a
parent: 59b1a521f4909f959e6968c14dc7e618d0df461b
author: Jean-Marc Valin <jmvalin@jmvalin.ca>
date: Tue Feb 20 22:15:52 EST 2018

Fix comment to take into account previous commit

--- a/src/opus_encoder.c
+++ b/src/opus_encoder.c
@@ -814,7 +814,7 @@
    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;