st->bufSize = 256;
st->bufSize = 512;
void encoder_init(EncState *st){   int i;   st->frameSize = 128;   st->windowSize = 256;   st->nbSubframes=4;   st->subframeSize=32;   st->lpcSize = 10;   st->bufSize = 256;   st->inBuf = malloc(st->bufSize*sizeof(float));   for (i=0;i<st->bufSize;i++)      st->inBuf[i]=0;   st->window = malloc(st->windowSize*sizeof(float));   /* Hanning window */   for (i=0;i<st->windowSize;i++)      st->window[i]=.5*(1-cos(2*M_PI*i/st->windowSize));   st->buf2 = malloc(st->windowSize*sizeof(float));   st->lpc = malloc((st->lpcSize+1)*sizeof(float));   st->autocorr = malloc((st->lpcSize+1)*sizeof(float));   /* Create the window for autocorrelation (lag-windowing) */   st->lagWindow = malloc((st->lpcSize+1)*sizeof(float));   for (i=0;i<st->lpcSize+1;i++)      st->lagWindow[i]=exp(-.5*sqr(2*M_PI*.01*i));   st->lsp = malloc(st->lpcSize*sizeof(float));   st->old_lsp = malloc(st->lpcSize*sizeof(float));   st->rc = malloc(st->lpcSize*sizeof(float));   st->first = 1;}