diff options
author | Benny Prijono <bennylp@teluu.com> | 2007-04-30 09:02:46 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2007-04-30 09:02:46 +0000 |
commit | 78caea1cc916243be0de0b50561451c3fe706bd5 (patch) | |
tree | daee9561bc6deb504bac49a866bde404bc47f009 /third_party/resample/include/resamplesubs.h | |
parent | dde89b25654a3d7d991f8435f9bedd7c8dbd3b2d (diff) |
Added resample DLL project
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1232 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'third_party/resample/include/resamplesubs.h')
-rw-r--r-- | third_party/resample/include/resamplesubs.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/third_party/resample/include/resamplesubs.h b/third_party/resample/include/resamplesubs.h index 76563b7b..ab0771b6 100644 --- a/third_party/resample/include/resamplesubs.h +++ b/third_party/resample/include/resamplesubs.h @@ -7,11 +7,17 @@ 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); +#ifdef _USRDLL +# define DECL(T) __declspec(dllexport) T +#else +# define DECL(T) T +#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); #endif |