Now coding the 4-8 kHz band only once!
authorJean-Marc Valin <jean-marc.valin@octasic.com>
Tue, 6 Jul 2010 20:00:44 +0000 (16:00 -0400)
committerJean-Marc Valin <jean-marc.valin@octasic.com>
Tue, 6 Jul 2010 20:00:44 +0000 (16:00 -0400)
src/hybrid_decoder.c
src/hybrid_encoder.c

index 0bece75..5b1fce2 100644 (file)
@@ -101,7 +101,7 @@ int hybrid_decode(HybridDecoder *st, const unsigned char *data,
     if (st->mode == MODE_HYBRID)
     {
         /* This should be adjusted based on the SILK bandwidth */
-        celt_decoder_ctl(st->celt_dec, CELT_SET_START_BAND(13));
+        celt_decoder_ctl(st->celt_dec, CELT_SET_START_BAND(17));
     } else {
         celt_decoder_ctl(st->celt_dec, CELT_SET_START_BAND(0));
     }
index a18dc13..02ad5af 100644 (file)
@@ -110,7 +110,7 @@ int hybrid_encode(HybridEncoder *st, const short *pcm, int frame_size,
        if (st->mode == MODE_HYBRID)
        {
            /* This should be adjusted based on the SILK bandwidth */
-           celt_encoder_ctl(st->celt_enc, CELT_SET_START_BAND(13));
+           celt_encoder_ctl(st->celt_enc, CELT_SET_START_BAND(17));
        } else {
         celt_encoder_ctl(st->celt_enc, CELT_SET_START_BAND(0));
        }