1
/* speex_types.h taken from libogg */
2
/********************************************************************
4
* THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
5
* USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
6
* GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
7
* IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
9
* THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
10
* by the Xiph.Org Foundation http://www.xiph.org/ *
12
********************************************************************
14
function: #ifdef jail to whip a few platforms into the UNIX ideal.
15
last mod: $Id: os_types.h 7524 2004-08-11 04:20:36Z conrad $
17
********************************************************************/
22
#ifndef _SPEEX_TYPES_H
23
#define _SPEEX_TYPES_H
27
# if defined(__CYGWIN__)
28
# include <_G_config.h>
29
typedef _G_int64_t spx_int64_t;
30
typedef _G_int32_t spx_int32_t;
31
typedef _G_uint32_t spx_uint32_t;
32
typedef _G_int16_t spx_int16_t;
33
typedef _G_uint16_t spx_uint16_t;
34
# elif defined(__MINGW32__)
35
typedef short spx_int16_t;
36
typedef unsigned short spx_uint16_t;
37
typedef int spx_int32_t;
38
typedef unsigned int spx_uint32_t;
39
typedef long long spx_int64_t;
40
typedef unsigned long long spx_uint64_t;
41
# elif defined(__MWERKS__)
42
typedef long long spx_int64_t;
43
typedef int spx_int32_t;
44
typedef unsigned int spx_uint32_t;
45
typedef short spx_int16_t;
46
typedef unsigned short spx_uint16_t;
49
typedef __int64 spx_int64_t;
50
typedef __int32 spx_int32_t;
51
typedef unsigned __int32 spx_uint32_t;
52
typedef __int16 spx_int16_t;
53
typedef unsigned __int16 spx_uint16_t;
56
#elif defined(__MACOS__)
58
# include <sys/types.h>
59
typedef SInt16 spx_int16_t;
60
typedef UInt16 spx_uint16_t;
61
typedef SInt32 spx_int32_t;
62
typedef UInt32 spx_uint32_t;
63
typedef SInt64 spx_int64_t;
65
#elif defined(__MACOSX__) /* MacOS X Framework build */
67
# include <sys/types.h>
68
typedef int16_t spx_int16_t;
69
typedef u_int16_t spx_uint16_t;
70
typedef int32_t spx_int32_t;
71
typedef u_int32_t spx_uint32_t;
72
typedef int64_t spx_int64_t;
74
#elif defined(__BEOS__)
77
# include <inttypes.h>
78
typedef int16_t spx_int16_t;
79
typedef u_int16_t spx_uint16_t;
80
typedef int32_t spx_int32_t;
81
typedef u_int32_t spx_uint32_t;
82
typedef int64_t spx_int64_t;
84
#elif defined (__EMX__)
87
typedef short spx_int16_t;
88
typedef unsigned short spx_uint16_t;
89
typedef int spx_int32_t;
90
typedef unsigned int spx_uint32_t;
91
typedef long long spx_int64_t;
96
typedef short spx_int16_t;
97
typedef int spx_int32_t;
98
typedef unsigned int spx_uint32_t;
99
typedef long long spx_int64_t;
104
typedef long spx_int64_t;
105
typedef int spx_int32_t;
106
typedef unsigned spx_uint32_t;
107
typedef short spx_int16_t;
109
#elif defined(__SYMBIAN32__)
112
typedef signed short spx_int16_t;
113
typedef unsigned short spx_uint16_t;
114
typedef signed int spx_int32_t;
115
typedef unsigned int spx_uint32_t;
116
typedef long long int spx_int64_t;
118
#elif defined(CONFIG_TI_C54X) || defined (CONFIG_TI_C55X)
120
typedef short spx_int16_t;
121
typedef unsigned short spx_uint16_t;
122
typedef long spx_int32_t;
123
typedef unsigned long spx_uint32_t;
125
#elif defined(CONFIG_TI_C5X)
127
typedef short spx_int16_t;
128
typedef unsigned short spx_uint16_t;
129
typedef int spx_int32_t;
130
typedef unsigned int spx_uint32_t;
134
# include <speex/speex_config_types.h>
138
#endif /* _SPEEX_TYPES_H */