Disable newly introduced CELT signalling
authorJean-Marc Valin <jean-marc.valin@octasic.com>
Fri, 11 Mar 2011 22:49:10 +0000 (17:49 -0500)
committerJean-Marc Valin <jean-marc.valin@octasic.com>
Fri, 11 Mar 2011 22:49:10 +0000 (17:49 -0500)
celt
src/opus_decoder.c
src/opus_encoder.c

diff --git a/celt b/celt
index 3e7f22d..dd2973d 160000 (submodule)
--- a/celt
+++ b/celt
@@ -1 +1 @@
-Subproject commit 3e7f22d45b285186e28b3bde54db0ce9126ca073
+Subproject commit dd2973dd6c440c3e48d18e9b010bbb2e916f5286
index a69cb8e..27ff1ff 100644 (file)
@@ -32,6 +32,7 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <stdarg.h>
+#include "celt.h"
 #include "opus_decoder.h"
 #include "entdec.h"
 #include "modes.h"
@@ -66,6 +67,7 @@ OpusDecoder *opus_decoder_create(int Fs, int channels)
 
        /* Initialize CELT decoder */
        st->celt_dec = celt_decoder_init(st->celt_dec, Fs, channels, NULL);
+    celt_decoder_ctl(st->celt_dec, CELT_SET_SIGNALLING(0));
 
        st->prev_mode = 0;
        return st;
index aa4a8f5..ae36b85 100644 (file)
@@ -32,6 +32,7 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <stdarg.h>
+#include "celt.h"
 #include "opus_encoder.h"
 #include "entenc.h"
 #include "modes.h"
@@ -76,6 +77,7 @@ OpusEncoder *opus_encoder_create(int Fs, int channels)
     /* Create CELT encoder */
        /* Initialize CELT encoder */
        st->celt_enc = celt_encoder_init(st->celt_enc, Fs, channels, &err);
+    celt_encoder_ctl(st->celt_enc, CELT_SET_SIGNALLING(0));
 
        st->mode = MODE_HYBRID;
        st->bandwidth = BANDWIDTH_FULLBAND;