summaryrefslogtreecommitdiff
path: root/third_party/resample/include/resamplesubs.h
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/resample/include/resamplesubs.h')
-rw-r--r--third_party/resample/include/resamplesubs.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/third_party/resample/include/resamplesubs.h b/third_party/resample/include/resamplesubs.h
new file mode 100644
index 00000000..76563b7b
--- /dev/null
+++ b/third_party/resample/include/resamplesubs.h
@@ -0,0 +1,18 @@
+#ifndef __RESAMPLESUBS_H__
+#define __RESAMPLESUBS_H__
+
+typedef char RES_BOOL;
+typedef short RES_HWORD;
+typedef int RES_WORD;
+typedef unsigned short RES_UHWORD;
+typedef unsigned int RES_UWORD;
+
+int res_SrcLinear(const RES_HWORD X[], RES_HWORD Y[],
+ double pFactor, RES_UHWORD nx);
+int res_Resample(const RES_HWORD X[], RES_HWORD Y[], double pFactor,
+ RES_UHWORD nx, RES_BOOL LargeF, RES_BOOL Interp);
+int res_GetXOFF(double pFactor, RES_BOOL LargeF);
+
+
+#endif
+