Converting the code to use the modes instead of global arrays.

This commit is contained in:
Jean-Marc Valin 2007-12-05 17:48:24 +11:00
parent ecb36a3323
commit 73e51b3e94
7 changed files with 40 additions and 23 deletions

View file

@ -48,7 +48,7 @@ int main(int argc, char *argv[])
outFile = argv[2];
fout = fopen(outFile, "wb+");
st = celt_encoder_new(FRAME_SIZE/NBLOCKS, NBLOCKS);
st = celt_encoder_new(celt_mode1);
while (!feof(fin))
{