Automatically choosing the overlap based on the frame size.

This commit is contained in:
Jean-Marc Valin 2008-06-18 23:44:48 +10:00
parent 9d1decd1bb
commit 16ca18b9b0
8 changed files with 38 additions and 32 deletions

View file

@ -373,7 +373,7 @@ int celt_encode(CELTEncoder * restrict st, celt_int16_t * restrict pcm, unsigned
transient_time = -1;
maxR = 0;
}
if (maxR > 10)
if (maxR > 30)
{
float gain_1;
ec_enc_bits(&st->enc, 1, 1);