diff options
author | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2013-11-24 11:01:55 +0400 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2013-11-24 11:01:55 +0400 |
commit | 1bf1f51c0a2b4e8bef93a1e949d57b33232b6455 (patch) | |
tree | 298321b5b76ff9e3bad613e8e91046e4d565701e /src | |
parent | d94ed205c08bddb5af0b67c09bcb07ca1c27592a (diff) |
Using a more reasonably SILK surround calibration value
Still needs more tuning
Diffstat (limited to 'src')
-rw-r--r-- | src/opus_encoder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opus_encoder.c b/src/opus_encoder.c index 47bf74b1..cbcd5c6a 100644 --- a/src/opus_encoder.c +++ b/src/opus_encoder.c @@ -1521,7 +1521,7 @@ opus_int32 opus_encode_native(OpusEncoder *st, const opus_val16 *pcm, int frame_ } /* Conservative rate reduction, we cut the masking in half */ masking_depth = HALF16(mask_sum / end*st->channels); - masking_depth += QCONST16(.4f, DB_SHIFT); + masking_depth += QCONST16(.1f, DB_SHIFT); rate_offset = (opus_int32)PSHR32(MULT16_16(srate, masking_depth), DB_SHIFT); rate_offset = MAX32(rate_offset, -2*st->silk_mode.bitRate/3); st->silk_mode.bitRate += rate_offset; |