ref: 92a06f51a7821c4399004ebf9bf4a48173b72a73
parent: 337f34cf5b6d880ed66a1f1c69e96441693d3fba
author: Jean-Marc Valin <[email protected]>
date: Mon Jul 1 12:27:07 EDT 2013
Disables temporal VBR for LFE
--- a/celt/celt_encoder.c
+++ b/celt/celt_encoder.c
@@ -1551,6 +1551,8 @@
surround_masking = DIV32_16(mask_avg,C*st->end) + QCONST16(.0f, DB_SHIFT);
surround_masking = MIN16(MAX16(surround_masking,-QCONST16(1.5f, DB_SHIFT)), 0);
}
+ /* Temporal VBR (but not for LFE) */
+ if (!st->lfe)
{
opus_val16 follow=-QCONST16(10.0f,DB_SHIFT);
float frame_avg=0;