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

« back to all changes in this revision

Viewing changes to daemon/libs/pjproject-2.0.1/third_party/build/speex/config.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
 
#include <pj/types.h>
2
 
 
3
 
/* Check if we need to use the fixed point version */
4
 
#if !defined(PJ_HAS_FLOATING_POINT) || PJ_HAS_FLOATING_POINT==0
5
 
#   define FIXED_POINT
6
 
#   define USE_KISS_FFT
7
 
#else
8
 
#   define FLOATING_POINT
9
 
#   define USE_SMALLFT
10
 
#endif
11
 
 
12
 
#define EXPORT
13
 
 
14
 
#if (defined(PJ_WIN32) && PJ_WIN32!=0) || \
15
 
    (defined(PJ_WIN32_WINCE) && PJ_WIN32_WINCE != 0)
16
 
#   include "../../speex/win32/config.h"
17
 
#else
18
 
#define inline __inline
19
 
#define restrict
20
 
#endif
21
 
 
22
 
#ifdef _MSC_VER
23
 
#   pragma warning(disable: 4100)   // unreferenced formal parameter
24
 
#   pragma warning(disable: 4101)   // unreferenced local variable
25
 
#   pragma warning(disable: 4244)   // conversion from 'double ' to 'float '
26
 
#   pragma warning(disable: 4305)   // truncation from 'const double ' to 'float '
27
 
#   pragma warning(disable: 4018)   // signed/unsigned mismatch
28
 
//#   pragma warning(disable: 4701)   // local variable used without initialized
29
 
#endif
30
 
 
31
 
#include <pj/log.h>
32
 
 
33
 
/*
34
 
 * Override miscellaneous Speex functions.
35
 
 */
36
 
#define OVERRIDE_SPEEX_ERROR
37
 
#define speex_error(str) PJ_LOG(4,("speex", "error: %s", str))
38
 
 
39
 
#define OVERRIDE_SPEEX_WARNING
40
 
#define speex_warning(str) PJ_LOG(5,("speex", "warning: %s", str))
41
 
 
42
 
#define OVERRIDE_SPEEX_WARNING_INT
43
 
#define speex_warning_int(str,val)  PJ_LOG(5,("speex", "warning: %s: %d", str, val))