diff options
author | Jean-Marc Valin <jean-marc.valin@octasic.com> | 2010-07-06 02:34:33 +0400 |
---|---|---|
committer | Jean-Marc Valin <jean-marc.valin@octasic.com> | 2010-07-06 02:34:33 +0400 |
commit | 1c7decbb6805b97cbe33a69c17b43057e7ec1cf3 (patch) | |
tree | bb9c6ab943465729940066aecbb0393510b2556b | |
parent | 47ae6667153ca70da362268da3fca064e15e333f (diff) |
Fixing a high bit-rate bug in SILK -- now scales well above 64 kb/s
m--------- | silk | 10 | ||||
-rw-r--r-- | src/hybrid_encoder.c | 2 |
2 files changed, 5 insertions, 7 deletions
diff --git a/silk b/silk -Subproject 2bf4e44e1b5e35c68aec3cd23d87183d1ca6c68 +Subproject 6f9a028cad836b8f41f479d244be849fc16e48b diff --git a/src/hybrid_encoder.c b/src/hybrid_encoder.c index 21d1573f..900204ad 100644 --- a/src/hybrid_encoder.c +++ b/src/hybrid_encoder.c @@ -89,8 +89,6 @@ int hybrid_encode(HybridEncoder *st, const short *pcm, int frame_size, ec_enc_init(&enc,&buf); st->encControl.bitRate = (bytes_per_packet*50*8+4000)/2; - if (st->encControl.bitRate>30000) - st->encControl.bitRate = 30000; /* Call SILK encoder for the low band */ nBytes = bytes_per_packet; |