Changeset 1232 for pjproject/trunk/third_party
- Timestamp:
- Apr 30, 2007 9:02:46 AM (17 years ago)
- Location:
- pjproject/trunk/third_party
- Files:
-
- 3 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/third_party/resample/include/resamplesubs.h
r1177 r1232 8 8 typedef unsigned int RES_UWORD; 9 9 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 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); 15 21 16 22 -
pjproject/trunk/third_party/resample/src/resamplesubs.c
r1177 r1232 320 320 321 321 322 intres_SrcLinear(const RES_HWORD X[], RES_HWORD Y[],323 double pFactor, RES_UHWORD nx)322 DECL(int) res_SrcLinear(const RES_HWORD X[], RES_HWORD Y[], 323 double pFactor, RES_UHWORD nx) 324 324 { 325 325 return SrcLinear(X, Y, pFactor, nx); 326 326 } 327 327 328 intres_Resample(const RES_HWORD X[], RES_HWORD Y[], double pFactor,329 328 DECL(int) res_Resample(const RES_HWORD X[], RES_HWORD Y[], double pFactor, 329 RES_UHWORD nx, RES_BOOL LargeF, RES_BOOL Interp) 330 330 { 331 331 if (pFactor >= 1) { … … 354 354 } 355 355 356 intres_GetXOFF(double pFactor, RES_BOOL LargeF)356 DECL(int) res_GetXOFF(double pFactor, RES_BOOL LargeF) 357 357 { 358 358 if (LargeF)
Note: See TracChangeset
for help on using the changeset viewer.