st->pre_mem=0;
void decoder_init(DecState *st, SpeexMode *mode){   int i;   /* Codec parameters, should eventually have several "modes"*/   st->frameSize = mode->frameSize;   st->windowSize = mode->windowSize;   st->nbSubframes=mode->frameSize/mode->subframeSize;   st->subframeSize=mode->subframeSize;   st->lpcSize = mode->lpcSize;   st->bufSize = mode->bufSize;   st->gamma1=mode->gamma1;   st->gamma2=mode->gamma2;   st->min_pitch=mode->pitchStart;   st->max_pitch=mode->pitchEnd;   st->lsp_unquant = mode->lsp_unquant;   st->ltp_unquant = mode->ltp_unquant;   st->ltp_params = mode->ltp_params;   st->innovation_unquant = mode->innovation_unquant;   st->innovation_params = mode->innovation_params;   st->stack = calloc(10000, sizeof(float));   st->inBuf = malloc(st->bufSize*sizeof(float));   st->frame = st->inBuf + st->bufSize - st->windowSize;   st->excBuf = malloc(st->bufSize*sizeof(float));   st->exc = st->excBuf + st->bufSize - st->windowSize;   for (i=0;i<st->bufSize;i++)      st->inBuf[i]=0;   for (i=0;i<st->bufSize;i++)      st->excBuf[i]=0;   st->interp_qlpc = malloc((st->lpcSize+1)*sizeof(float));   st->qlsp = malloc(st->lpcSize*sizeof(float));   st->old_qlsp = malloc(st->lpcSize*sizeof(float));   st->interp_qlsp = malloc(st->lpcSize*sizeof(float));   st->mem_sp = calloc(st->lpcSize, sizeof(float));}