diff options
author | Chris Robinson <[email protected]> | 2020-05-11 02:24:08 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-05-11 02:24:08 -0700 |
commit | 2574b98f8ad0efc0c96c81325e55d686c7e33e5b (patch) | |
tree | 3c7e4d60513f4eddbf8c59efd047dc6f896d372b /alc/bsinc_tables.h | |
parent | 0406e3bef75bd42e310f147fc3f9589859140f3f (diff) |
Move the bsinc tables out of common
Diffstat (limited to 'alc/bsinc_tables.h')
-rw-r--r-- | alc/bsinc_tables.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/alc/bsinc_tables.h b/alc/bsinc_tables.h new file mode 100644 index 00000000..2e2443e5 --- /dev/null +++ b/alc/bsinc_tables.h @@ -0,0 +1,17 @@ +#ifndef BSINC_TABLES_H +#define BSINC_TABLES_H + +#include "bsinc_defs.h" + + +struct BSincTable { + float scaleBase, scaleRange; + unsigned int m[BSINC_SCALE_COUNT]; + unsigned int filterOffset[BSINC_SCALE_COUNT]; + const float *Tab; +}; + +extern const BSincTable bsinc12; +extern const BSincTable bsinc24; + +#endif /* BSINC_TABLES_H */ |