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

Disable newly introduced CELT signalling

parent 5012e4f3
celt @ dd2973dd
Subproject commit 3e7f22d45b285186e28b3bde54db0ce9126ca073 Subproject commit dd2973dd6c440c3e48d18e9b010bbb2e916f5286
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <stdarg.h> #include <stdarg.h>
#include "celt.h"
#include "opus_decoder.h" #include "opus_decoder.h"
#include "entdec.h" #include "entdec.h"
#include "modes.h" #include "modes.h"
...@@ -66,6 +67,7 @@ OpusDecoder *opus_decoder_create(int Fs, int channels) ...@@ -66,6 +67,7 @@ OpusDecoder *opus_decoder_create(int Fs, int channels)
/* Initialize CELT decoder */ /* Initialize CELT decoder */
st->celt_dec = celt_decoder_init(st->celt_dec, Fs, channels, NULL); 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; st->prev_mode = 0;
return st; return st;
......
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <stdarg.h> #include <stdarg.h>
#include "celt.h"
#include "opus_encoder.h" #include "opus_encoder.h"
#include "entenc.h" #include "entenc.h"
#include "modes.h" #include "modes.h"
...@@ -76,6 +77,7 @@ OpusEncoder *opus_encoder_create(int Fs, int channels) ...@@ -76,6 +77,7 @@ OpusEncoder *opus_encoder_create(int Fs, int channels)
/* Create CELT encoder */ /* Create CELT encoder */
/* Initialize CELT encoder */ /* Initialize CELT encoder */
st->celt_enc = celt_encoder_init(st->celt_enc, Fs, channels, &err); 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->mode = MODE_HYBRID;
st->bandwidth = BANDWIDTH_FULLBAND; st->bandwidth = BANDWIDTH_FULLBAND;
......
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