SILK/CELT update
authorJean-Marc Valin <jean-marc.valin@octasic.com>
Mon, 28 Feb 2011 21:29:02 +0000 (16:29 -0500)
committerJean-Marc Valin <jean-marc.valin@octasic.com>
Mon, 28 Feb 2011 21:29:02 +0000 (16:29 -0500)
celt
silk
src/opus_encoder.c

diff --git a/celt b/celt
index e3d39fe..c79c4e3 160000 (submodule)
--- a/celt
+++ b/celt
@@ -1 +1 @@
-Subproject commit e3d39fec7c44d1841e817d3b1986bfdc4d0863a9
+Subproject commit c79c4e3bc7270b08a2800a2dd9d9a5f02767024d
diff --git a/silk b/silk
index 8930d2f..1bf4f97 160000 (submodule)
--- a/silk
+++ b/silk
@@ -1 +1 @@
-Subproject commit 8930d2fa66a775040b264d9d2c5950fd403bb267
+Subproject commit 1bf4f9715a93209f681664f2c46cb5a25ee7aaf8
index 257eca6..2334aa2 100644 (file)
@@ -155,9 +155,9 @@ int opus_encode(OpusEncoder *st, const short *pcm, int frame_size,
         /* Call SILK encoder for the low band */
         nBytes = max_data_bytes-1;
         if (prefill)
-               SKP_Silk_SDK_Encoder_prefill_buffer(st->silk_enc, &st->silk_mode, st->delay_buffer, ENCODER_BUFFER);
+               SKP_Silk_SDK_Encode( st->silk_enc, &st->silk_mode, st->delay_buffer, ENCODER_BUFFER, NULL, 0, 1 );
 
-        ret = SKP_Silk_SDK_Encode( st->silk_enc, &st->silk_mode, pcm, frame_size, &enc, &nBytes );
+        ret = SKP_Silk_SDK_Encode( st->silk_enc, &st->silk_mode, pcm, frame_size, &enc, &nBytes, 0 );
         if( ret ) {
             fprintf (stderr, "SILK encode error: %d\n", ret);
             /* Handle error */