Benny Prijono | c95a0f0 | 2007-04-09 07:06:08 +0000 | [diff] [blame] | 1 | #ifndef __RESAMPLESUBS_H__ |
| 2 | #define __RESAMPLESUBS_H__ |
| 3 | |
| 4 | typedef char RES_BOOL; |
| 5 | typedef short RES_HWORD; |
| 6 | typedef int RES_WORD; |
| 7 | typedef unsigned short RES_UHWORD; |
| 8 | typedef unsigned int RES_UWORD; |
| 9 | |
Benny Prijono | 4fb32b5 | 2007-04-30 09:02:46 +0000 | [diff] [blame] | 10 | #ifdef _USRDLL |
| 11 | # define DECL(T) __declspec(dllexport) T |
| 12 | #else |
| 13 | # define DECL(T) T |
| 14 | #endif |
| 15 | |
| 16 | DECL(int) res_SrcLinear(const RES_HWORD X[], RES_HWORD Y[], |
| 17 | double pFactor, RES_UHWORD nx); |
| 18 | DECL(int) res_Resample(const RES_HWORD X[], RES_HWORD Y[], double pFactor, |
| 19 | RES_UHWORD nx, RES_BOOL LargeF, RES_BOOL Interp); |
| 20 | DECL(int) res_GetXOFF(double pFactor, RES_BOOL LargeF); |
Benny Prijono | c95a0f0 | 2007-04-09 07:06:08 +0000 | [diff] [blame] | 21 | |
| 22 | |
| 23 | #endif |
| 24 | |