summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@amazon.com>2022-07-24 02:14:53 -0400
committerJean-Marc Valin <jmvalin@amazon.com>2022-07-24 02:16:03 -0400
commitfd9c0f1e1f1b74c46c5872217e3289a9edf69d48 (patch)
tree40aa3f4e7833835192af5783a194375b966a2f56
parent5413ef784941652448e703688fbe3b96ef6d7e86 (diff)
downloadopus-fd9c0f1e1f1b74c46c5872217e3289a9edf69d48.tar.gz
More FEC tuning: lowering the LBRR bitrate a bit
-rw-r--r--silk/control_codec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/silk/control_codec.c b/silk/control_codec.c
index 52aa8fde..784ffe66 100644
--- a/silk/control_codec.c
+++ b/silk/control_codec.c
@@ -415,7 +415,7 @@ static OPUS_INLINE opus_int silk_setup_LBRR(
/* 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 );
}
}