ex

Fork of mbed-os-example-mbed5-blinky by mbed-os-examples

Committer:
TMBOY
Date:
Tue Jul 18 16:54:45 2017 +0800
Revision:
47:9e361da97763
?

Who changed what in which revision?

UserRevisionLine numberNew contents of line
TMBOY 47:9e361da97763 1 /* speex_types.h taken from libogg */
TMBOY 47:9e361da97763 2 /********************************************************************
TMBOY 47:9e361da97763 3 * *
TMBOY 47:9e361da97763 4 * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
TMBOY 47:9e361da97763 5 * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
TMBOY 47:9e361da97763 6 * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
TMBOY 47:9e361da97763 7 * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
TMBOY 47:9e361da97763 8 * *
TMBOY 47:9e361da97763 9 * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
TMBOY 47:9e361da97763 10 * by the Xiph.Org Foundation http://www.xiph.org/ *
TMBOY 47:9e361da97763 11 * *
TMBOY 47:9e361da97763 12 ********************************************************************
TMBOY 47:9e361da97763 13
TMBOY 47:9e361da97763 14 function: #ifdef jail to whip a few platforms into the UNIX ideal.
TMBOY 47:9e361da97763 15 last mod: $Id: os_types.h 7524 2004-08-11 04:20:36Z conrad $
TMBOY 47:9e361da97763 16
TMBOY 47:9e361da97763 17 ********************************************************************/
TMBOY 47:9e361da97763 18 /**
TMBOY 47:9e361da97763 19 @file speex_types.h
TMBOY 47:9e361da97763 20 @brief Speex types
TMBOY 47:9e361da97763 21 */
TMBOY 47:9e361da97763 22 #ifndef _SPEEX_TYPES_H
TMBOY 47:9e361da97763 23 #define _SPEEX_TYPES_H
TMBOY 47:9e361da97763 24
TMBOY 47:9e361da97763 25 #if defined(_WIN32)
TMBOY 47:9e361da97763 26
TMBOY 47:9e361da97763 27 # if defined(__CYGWIN__)
TMBOY 47:9e361da97763 28 # include <_G_config.h>
TMBOY 47:9e361da97763 29 typedef _G_int32_t spx_int32_t;
TMBOY 47:9e361da97763 30 typedef _G_uint32_t spx_uint32_t;
TMBOY 47:9e361da97763 31 typedef _G_int16_t spx_int16_t;
TMBOY 47:9e361da97763 32 typedef _G_uint16_t spx_uint16_t;
TMBOY 47:9e361da97763 33 # elif defined(__MINGW32__)
TMBOY 47:9e361da97763 34 typedef short spx_int16_t;
TMBOY 47:9e361da97763 35 typedef unsigned short spx_uint16_t;
TMBOY 47:9e361da97763 36 typedef int spx_int32_t;
TMBOY 47:9e361da97763 37 typedef unsigned int spx_uint32_t;
TMBOY 47:9e361da97763 38 # elif defined(__MWERKS__)
TMBOY 47:9e361da97763 39 typedef int spx_int32_t;
TMBOY 47:9e361da97763 40 typedef unsigned int spx_uint32_t;
TMBOY 47:9e361da97763 41 typedef short spx_int16_t;
TMBOY 47:9e361da97763 42 typedef unsigned short spx_uint16_t;
TMBOY 47:9e361da97763 43 # else
TMBOY 47:9e361da97763 44 /* MSVC/Borland */
TMBOY 47:9e361da97763 45 typedef __int32 spx_int32_t;
TMBOY 47:9e361da97763 46 typedef unsigned __int32 spx_uint32_t;
TMBOY 47:9e361da97763 47 typedef __int16 spx_int16_t;
TMBOY 47:9e361da97763 48 typedef unsigned __int16 spx_uint16_t;
TMBOY 47:9e361da97763 49 # endif
TMBOY 47:9e361da97763 50
TMBOY 47:9e361da97763 51 #elif defined(__MACOS__)
TMBOY 47:9e361da97763 52
TMBOY 47:9e361da97763 53 # include <sys/types.h>
TMBOY 47:9e361da97763 54 typedef SInt16 spx_int16_t;
TMBOY 47:9e361da97763 55 typedef UInt16 spx_uint16_t;
TMBOY 47:9e361da97763 56 typedef SInt32 spx_int32_t;
TMBOY 47:9e361da97763 57 typedef UInt32 spx_uint32_t;
TMBOY 47:9e361da97763 58
TMBOY 47:9e361da97763 59 #elif defined(__MACOSX__) /* MacOS X Framework build */
TMBOY 47:9e361da97763 60
TMBOY 47:9e361da97763 61 # include <sys/types.h>
TMBOY 47:9e361da97763 62 typedef int16_t spx_int16_t;
TMBOY 47:9e361da97763 63 typedef u_int16_t spx_uint16_t;
TMBOY 47:9e361da97763 64 typedef int32_t spx_int32_t;
TMBOY 47:9e361da97763 65 typedef u_int32_t spx_uint32_t;
TMBOY 47:9e361da97763 66
TMBOY 47:9e361da97763 67 #elif defined(__BEOS__)
TMBOY 47:9e361da97763 68
TMBOY 47:9e361da97763 69 /* Be */
TMBOY 47:9e361da97763 70 # include <inttypes.h>
TMBOY 47:9e361da97763 71 typedef int16_t spx_int16_t;
TMBOY 47:9e361da97763 72 typedef u_int16_t spx_uint16_t;
TMBOY 47:9e361da97763 73 typedef int32_t spx_int32_t;
TMBOY 47:9e361da97763 74 typedef u_int32_t spx_uint32_t;
TMBOY 47:9e361da97763 75
TMBOY 47:9e361da97763 76 #elif defined (__EMX__)
TMBOY 47:9e361da97763 77
TMBOY 47:9e361da97763 78 /* OS/2 GCC */
TMBOY 47:9e361da97763 79 typedef short spx_int16_t;
TMBOY 47:9e361da97763 80 typedef unsigned short spx_uint16_t;
TMBOY 47:9e361da97763 81 typedef int spx_int32_t;
TMBOY 47:9e361da97763 82 typedef unsigned int spx_uint32_t;
TMBOY 47:9e361da97763 83
TMBOY 47:9e361da97763 84 #elif defined (DJGPP)
TMBOY 47:9e361da97763 85
TMBOY 47:9e361da97763 86 /* DJGPP */
TMBOY 47:9e361da97763 87 typedef short spx_int16_t;
TMBOY 47:9e361da97763 88 typedef int spx_int32_t;
TMBOY 47:9e361da97763 89 typedef unsigned int spx_uint32_t;
TMBOY 47:9e361da97763 90
TMBOY 47:9e361da97763 91 #elif defined(R5900)
TMBOY 47:9e361da97763 92
TMBOY 47:9e361da97763 93 /* PS2 EE */
TMBOY 47:9e361da97763 94 typedef int spx_int32_t;
TMBOY 47:9e361da97763 95 typedef unsigned spx_uint32_t;
TMBOY 47:9e361da97763 96 typedef short spx_int16_t;
TMBOY 47:9e361da97763 97
TMBOY 47:9e361da97763 98 #elif defined(__SYMBIAN32__)
TMBOY 47:9e361da97763 99
TMBOY 47:9e361da97763 100 /* Symbian GCC */
TMBOY 47:9e361da97763 101 typedef signed short spx_int16_t;
TMBOY 47:9e361da97763 102 typedef unsigned short spx_uint16_t;
TMBOY 47:9e361da97763 103 typedef signed int spx_int32_t;
TMBOY 47:9e361da97763 104 typedef unsigned int spx_uint32_t;
TMBOY 47:9e361da97763 105
TMBOY 47:9e361da97763 106 #elif defined(CONFIG_TI_C54X) || defined (CONFIG_TI_C55X)
TMBOY 47:9e361da97763 107
TMBOY 47:9e361da97763 108 typedef short spx_int16_t;
TMBOY 47:9e361da97763 109 typedef unsigned short spx_uint16_t;
TMBOY 47:9e361da97763 110 typedef long spx_int32_t;
TMBOY 47:9e361da97763 111 typedef unsigned long spx_uint32_t;
TMBOY 47:9e361da97763 112
TMBOY 47:9e361da97763 113 #elif defined(CONFIG_TI_C6X)
TMBOY 47:9e361da97763 114
TMBOY 47:9e361da97763 115 typedef short spx_int16_t;
TMBOY 47:9e361da97763 116 typedef unsigned short spx_uint16_t;
TMBOY 47:9e361da97763 117 typedef int spx_int32_t;
TMBOY 47:9e361da97763 118 typedef unsigned int spx_uint32_t;
TMBOY 47:9e361da97763 119
TMBOY 47:9e361da97763 120 #else
TMBOY 47:9e361da97763 121
TMBOY 47:9e361da97763 122 # include <speex/speex_config_types.h>
TMBOY 47:9e361da97763 123
TMBOY 47:9e361da97763 124 #endif
TMBOY 47:9e361da97763 125
TMBOY 47:9e361da97763 126 #endif /* _SPEEX_TYPES_H */