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

@ -35,9 +35,12 @@
struct CELTState_;
typedef struct CELTState_ CELTState;
struct CELTMode_;
typedef struct CELTMode_ CELTMode;
extern const CELTMode const *celt_mode1;
CELTState *celt_encoder_new(int blockSize, int blocksPerFrame);
CELTState *celt_encoder_new(const CELTMode *mode);
void celt_encoder_destroy(CELTState *st);