~ubuntu-branches/ubuntu/wily/sflphone/wily

« back to all changes in this revision

Viewing changes to daemon/libs/pjproject-2.0.1/third_party/resample/include/resamplesubs.h

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2014-01-28 18:23:36 UTC
  • mfrom: (1.1.11)
  • mto: This revision was merged to the branch mainline in revision 24.
  • Revision ID: package-import@ubuntu.com-20140128182336-3xenud1kbnwmf3mz
* New upstream release 
  - Fixes "New Upstream Release" (Closes: #735846)
  - Fixes "Ringtone does not stop" (Closes: #727164)
  - Fixes "[sflphone-kde] crash on startup" (Closes: #718178)
  - Fixes "sflphone GUI crashes when call is hung up" (Closes: #736583)
* Build-Depends: ensure GnuTLS 2.6
  - libucommon-dev (>= 6.0.7-1.1), libccrtp-dev (>= 2.0.6-3)
  - Fixes "FTBFS Build-Depends libgnutls{26,28}-dev" (Closes: #722040)
* Fix "boost 1.49 is going away" unversioned Build-Depends: (Closes: #736746)
* Add Build-Depends: libsndfile-dev, nepomuk-core-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef __RESAMPLESUBS_H__
2
 
#define __RESAMPLESUBS_H__
3
 
 
4
 
typedef char           RES_BOOL;
5
 
typedef short          RES_HWORD;
6
 
typedef int            RES_WORD;
7
 
typedef unsigned short RES_UHWORD;
8
 
typedef unsigned int   RES_UWORD;
9
 
 
10
 
#ifdef _USRDLL
11
 
#   define DECL(T)  __declspec(dllexport) T
12
 
#else
13
 
#   define DECL(T)  T
14
 
#endif
15
 
 
16
 
#ifdef __cplusplus
17
 
extern "C"
18
 
{
19
 
#endif
20
 
 
21
 
DECL(int) res_SrcLinear(const RES_HWORD X[], RES_HWORD Y[],
22
 
                        double pFactor, RES_UHWORD nx);
23
 
DECL(int) res_Resample(const RES_HWORD X[], RES_HWORD Y[], double pFactor,
24
 
                       RES_UHWORD nx, RES_BOOL LargeF, RES_BOOL Interp);
25
 
DECL(int) res_GetXOFF(double pFactor, RES_BOOL LargeF);
26
 
 
27
 
#ifdef __cplusplus
28
 
}
29
 
#endif
30
 
 
31
 
#endif