Added signalling bits for enabling/disabling pitch, short blocks, and folding.

Also, making it possible to disable pitch for all frames.
This commit is contained in:
Jean-Marc Valin 2008-08-30 00:55:07 -04:00
parent 5c3bc67959
commit c994394fc3
3 changed files with 53 additions and 15 deletions

View file

@ -425,6 +425,7 @@ void celt_mode_destroy(CELTMode *mode)
#endif
#endif
mdct_clear(&mode->mdct);
mdct_clear(&mode->shortMdct);
pitch_state_free(mode->fft);
quant_prob_free(mode->prob);
celt_free((celt_int16_t *)mode->energy_alloc);