blob: c81d715a22ca83e19e0d53500d1d2a541850e876 [file] [log] [blame]
Tristan Matthews0a329cc2013-07-17 13:20:14 -04001#ifndef __RESAMPLESUBS_H__
2#define __RESAMPLESUBS_H__
3
4typedef char RES_BOOL;
5typedef short RES_HWORD;
6typedef int RES_WORD;
7typedef unsigned short RES_UHWORD;
8typedef unsigned int RES_UWORD;
9
10#ifdef _USRDLL
11# define DECL(T) __declspec(dllexport) T
12#else
13# define DECL(T) T
14#endif
15
16#ifdef __cplusplus
17extern "C"
18{
19#endif
20
21DECL(int) res_SrcLinear(const RES_HWORD X[], RES_HWORD Y[],
22 double pFactor, RES_UHWORD nx);
23DECL(int) res_Resample(const RES_HWORD X[], RES_HWORD Y[], double pFactor,
24 RES_UHWORD nx, RES_BOOL LargeF, RES_BOOL Interp);
25DECL(int) res_GetXOFF(double pFactor, RES_BOOL LargeF);
26
27#ifdef __cplusplus
28}
29#endif
30
31#endif
32