Converting the code to use the modes instead of global arrays.
This commit is contained in:
parent
ecb36a3323
commit
73e51b3e94
7 changed files with 40 additions and 23 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue