CELT updated to 0.9.0 (+ PLC fix)
This commit is contained in:
parent
05dd36a1b3
commit
ae1fad2e26
2 changed files with 2 additions and 2 deletions
2
celt
2
celt
|
@ -1 +1 @@
|
||||||
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);
|
ec_byte_shrink(&buf, bytes_per_packet);
|
||||||
}
|
}
|
||||||
/* Encode high band with CELT */
|
/* 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++)
|
for (i=0;i<ENCODER_DELAY_COMPENSATION;i++)
|
||||||
st->delay_buffer[i] = pcm[frame_size-ENCODER_DELAY_COMPENSATION+i];
|
st->delay_buffer[i] = pcm[frame_size-ENCODER_DELAY_COMPENSATION+i];
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue