infrastructure changes for upcoming stereo improvements

This commit is contained in:
Jean-Marc Valin 2008-05-23 13:35:35 +10:00
parent 21f2666155
commit fe0b8e8db4
5 changed files with 19 additions and 8 deletions

View file

@ -364,7 +364,7 @@ CELTMode EXPORT *celt_mode_create(celt_int32_t Fs, int channels, int frame_size,
#endif
mode->window = window;
compute_alloc_cache(mode);
mode->bits = (const celt_int16_t **)compute_alloc_cache(mode, mode->nbChannels);
#ifndef SHORTCUTS
psydecay_init(&mode->psy, MAX_PERIOD/2, mode->Fs);