ref: 8ea67049c2e0e4dd7a9bd083b1ba874b37099b3d
parent: 5012e4f36dd89a986ef63078cea615e509b496d7
author: Jean-Marc Valin <[email protected]>
date: Fri Mar 11 12:49:10 EST 2011
Disable newly introduced CELT signalling
--- a/src/opus_decoder.c
+++ b/src/opus_decoder.c
@@ -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 @@
/* 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;
--- a/src/opus_encoder.c
+++ b/src/opus_encoder.c
@@ -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 @@
/* 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;