Commit ae1fad2e authored by Jean-Marc Valin's avatar Jean-Marc Valin
Browse files

CELT updated to 0.9.0 (+ PLC fix)

parent 05dd36a1
celt @ 1ad93cf4
Subproject commit 4d2d9fc9e6feb7060589664af5855c9ef762bc89
Subproject commit 1ad93cf485b344abc9f8c67e4120fdb29536ea03
......@@ -171,7 +171,7 @@ int opus_encode(OpusEncoder *st, const short *pcm, int frame_size,
ec_byte_shrink(&buf, bytes_per_packet);
}
/* Encode high band with CELT */
ret = celt_encode_with_ec(st->celt_enc, pcm_buf, NULL, frame_size, NULL, bytes_per_packet, &enc);
ret = celt_encode_with_ec(st->celt_enc, pcm_buf, frame_size, NULL, bytes_per_packet, &enc);
for (i=0;i<ENCODER_DELAY_COMPENSATION;i++)
st->delay_buffer[i] = pcm[frame_size-ENCODER_DELAY_COMPENSATION+i];
} else {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment