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
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue