shithub: opus

Download patch

ref: fd9c0f1e1f1b74c46c5872217e3289a9edf69d48
parent: 5413ef784941652448e703688fbe3b96ef6d7e86
author: Jean-Marc Valin <jmvalin@amazon.com>
date: Sat Jul 23 22:14:53 EDT 2022

More FEC tuning: lowering the LBRR bitrate a bit

--- a/silk/control_codec.c
+++ b/silk/control_codec.c
@@ -415,7 +415,7 @@
             /* Previous packet did not have LBRR, and was therefore coded at a higher bitrate */
             psEncC->LBRR_GainIncreases = 7;
         } else {
-            psEncC->LBRR_GainIncreases = silk_max_int( 7 - silk_SMULWB( (opus_int32)psEncC->PacketLoss_perc, SILK_FIX_CONST( 0.4, 16 ) ), 2 );
+            psEncC->LBRR_GainIncreases = silk_max_int( 7 - silk_SMULWB( (opus_int32)psEncC->PacketLoss_perc, SILK_FIX_CONST( 0.2, 16 ) ), 3 );
         }
     }