From 2574b98f8ad0efc0c96c81325e55d686c7e33e5b Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 11 May 2020 02:24:08 -0700 Subject: Move the bsinc tables out of common --- alc/bsinc_tables.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 alc/bsinc_tables.h (limited to 'alc/bsinc_tables.h') 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 */ -- cgit v1.2.3