diff options
author | Nanang Izzuddin <nanang@teluu.com> | 2009-07-14 13:45:52 +0000 |
---|---|---|
committer | Nanang Izzuddin <nanang@teluu.com> | 2009-07-14 13:45:52 +0000 |
commit | 1ed64f09428fb1f9a45941c7e102347ff3ab84d6 (patch) | |
tree | e86f6bf3967aca427cac44cf1a6ee71acb3c1478 /third_party | |
parent | 72c50a1b183c5e993a27fac51c72b60a8bdb8bf7 (diff) |
Ticket #918: Added C compatible declarations in modules: G.711, transport SRTP, libresample.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2832 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/resample/include/resamplesubs.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/third_party/resample/include/resamplesubs.h b/third_party/resample/include/resamplesubs.h index ab0771b6..c81d715a 100644 --- a/third_party/resample/include/resamplesubs.h +++ b/third_party/resample/include/resamplesubs.h @@ -13,12 +13,20 @@ typedef unsigned int RES_UWORD; # 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 |