blob: ab0771b613532d5a0b730fe5b011f6e2517b8277 [file] [log] [blame]
Benny Prijonoc95a0f02007-04-09 07:06:08 +00001#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
Benny Prijono4fb32b52007-04-30 09:02:46 +000010#ifdef _USRDLL
11# define DECL(T) __declspec(dllexport) T
12#else
13# define DECL(T) T
14#endif
15
16DECL(int) res_SrcLinear(const RES_HWORD X[], RES_HWORD Y[],
17 double pFactor, RES_UHWORD nx);
18DECL(int) res_Resample(const RES_HWORD X[], RES_HWORD Y[], double pFactor,
19 RES_UHWORD nx, RES_BOOL LargeF, RES_BOOL Interp);
20DECL(int) res_GetXOFF(double pFactor, RES_BOOL LargeF);
Benny Prijonoc95a0f02007-04-09 07:06:08 +000021
22
23#endif
24