blob: c81d715a22ca83e19e0d53500d1d2a541850e876 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#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;
#ifdef _USRDLL
# define DECL(T) __declspec(dllexport) T
#else
# define DECL(T) T
#endif
#ifdef __cplusplus
extern "C"
{
#endif
DECL(int) res_SrcLinear(const RES_HWORD X[], RES_HWORD Y[],
double pFactor, RES_UHWORD nx);
DECL(int) res_Resample(const RES_HWORD X[], RES_HWORD Y[], double pFactor,
RES_UHWORD nx, RES_BOOL LargeF, RES_BOOL Interp);
DECL(int) res_GetXOFF(double pFactor, RES_BOOL LargeF);
#ifdef __cplusplus
}
#endif
#endif
|