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

@ -32,7 +32,9 @@
#ifndef MODES_H
#define MODES_H
typedef struct {
#include "celt.h"
struct CELTMode_ {
int frameSize;
int mdctSize;
int nbMdctBlocks;
@ -44,6 +46,6 @@ typedef struct {
const int *eBands;
const int *pBands;
const int *pulses;
} CELTMode;
};
#endif