Ignore:
Timestamp:
Apr 30, 2007 9:02:46 AM (17 years ago)
Author:
bennylp
Message:

Added resample DLL project

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/third_party/resample/include/resamplesubs.h

    r1177 r1232  
    88typedef unsigned int   RES_UWORD; 
    99 
    10 int res_SrcLinear(const RES_HWORD X[], RES_HWORD Y[],  
    11                   double pFactor, RES_UHWORD nx); 
    12 int res_Resample(const RES_HWORD X[], RES_HWORD Y[], double pFactor,  
    13                  RES_UHWORD nx, RES_BOOL LargeF, RES_BOOL Interp); 
    14 int res_GetXOFF(double pFactor, RES_BOOL LargeF); 
     10#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); 
    1521 
    1622 
Note: See TracChangeset for help on using the changeset viewer.