aboutsummaryrefslogtreecommitdiffstats
path: root/alc/bsinc_tables.h
diff options
context:
space:
mode:
Diffstat (limited to 'alc/bsinc_tables.h')
-rw-r--r--alc/bsinc_tables.h17
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 */