Disable newly introduced CELT signalling
This commit is contained in:
parent
5012e4f36d
commit
8ea67049c2
3 changed files with 5 additions and 1 deletions
2
celt
2
celt
|
@ -1 +1 @@
|
||||||
Subproject commit 3e7f22d45b285186e28b3bde54db0ce9126ca073
|
Subproject commit dd2973dd6c440c3e48d18e9b010bbb2e916f5286
|
|
@ -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)
|
||||||
|
|
||||||
/* 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 @@
|
||||||
#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)
|
||||||
/* 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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue