Changeset 628 for pjproject/trunk/pjmedia/src/pjmedia-codec/speex/misc.h
- Timestamp:
- Jul 26, 2006 5:04:54 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia-codec/speex/misc.h
r278 r628 39 39 #define SPEEX_MAJOR_VERSION 1 /**< Major Speex version. */ 40 40 #define SPEEX_MINOR_VERSION 1 /**< Minor Speex version. */ 41 #define SPEEX_MICRO_VERSION 1 2/**< Micro Speex version. */41 #define SPEEX_MICRO_VERSION 13 /**< Micro Speex version. */ 42 42 #define SPEEX_EXTRA_VERSION "" /**< Extra Speex version. */ 43 #define SPEEX_VERSION "speex-1.1.12" /**< Speex version string. */ 43 #define SPEEX_VERSION "speex-1.1.13" /**< Speex version string. */ 44 #endif 45 46 /* A couple test to catch stupid option combinations */ 47 #ifdef FIXED_POINT 48 49 #ifdef _USE_SSE 50 #error SSE is only for floating-point 51 #endif 52 #if ((defined (ARM4_ASM)||defined (ARM4_ASM)) && defined(BFIN_ASM)) || (defined (ARM4_ASM)&&defined(ARM5E_ASM)) 53 #error Make up your mind. What CPU do you have? 54 #endif 55 #ifdef VORBIS_PSYCHO 56 #error Vorbis-psy model currently not implemented in fixed-point 57 #endif 58 59 #else 60 61 #if defined (ARM4_ASM) || defined(ARM5E_ASM) || defined(BFIN_ASM) 62 #error I suppose you can have a [ARM4/ARM5E/Blackfin] that has float instructions? 63 #endif 64 #ifdef FIXED_POINT_DEBUG 65 #error Don't you think enabling fixed-point is a good thing to do if you want to debug that? 66 #endif 67 68 44 69 #endif 45 70 … … 89 114 void speex_warning_int(const char *str, int val); 90 115 91 /** Generate a vector of random numbers */92 void speex_rand_vec(float std, spx_sig_t *data, int len);93 94 116 /** Generate a random number */ 95 spx_word 32_t speex_rand(spx_word16_t std, spx_int32_t *seed);117 spx_word16_t speex_rand(spx_word16_t std, spx_int32_t *seed); 96 118 97 119 /** Speex wrapper for putc */
Note: See TracChangeset
for help on using the changeset viewer.