Fixed a bug in the PLC and added code to estimate the pitch from the synthesis

instead of relying on the one previously transmitted by the encoder.
This commit is contained in:
Jean-Marc Valin 2008-05-02 10:34:07 +10:00
parent a1bb9c707f
commit 24c9cdaca1
6 changed files with 29 additions and 12 deletions

View file

@ -37,6 +37,7 @@
#include "arch.h"
#include "mdct.h"
#include "psy.h"
#include "pitch.h"
#ifdef STATIC_MODES
#include "static_modes.h"
@ -88,7 +89,8 @@ struct CELTMode {
/* Stuff that could go in the {en,de}coder, but we save space this way */
mdct_lookup mdct;
kiss_fftr_cfg fft;
const celt_word16_t *window;
struct PsyDecay psy;