Skip to content
Snippets Groups Projects
Commit 76516c83 authored by Jean-Marc Valin's avatar Jean-Marc Valin
Browse files

Now coding the 4-8 kHz band only once!

parent e2d1ef1f
No related branches found
No related tags found
No related merge requests found
......@@ -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));
}
......
......@@ -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));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment