misc.h
Go to the documentation of this file.00001
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
#ifndef MISC_H
00036
#define MISC_H
00037
00038
#ifndef SPEEX_VERSION
00039 #define SPEEX_MAJOR_VERSION 1
00040 #define SPEEX_MINOR_VERSION 0
00041 #define SPEEX_MICRO_VERSION 4
00042 #define SPEEX_EXTRA_VERSION ""
00043 #define SPEEX_VERSION "speex-1.0.4"
00044
#endif
00045
00046
00047
#ifdef _MSC_VER
00048
#pragma warning(disable : 4244)
00049
#pragma warning(disable : 4305)
00050
#endif
00051
00052 #define VERY_SMALL 1e-30
00053
00054
#ifndef RELEASE
00055
void print_vec(
float *vec,
int len,
char *name);
00056
#endif
00057
00058
unsigned int be_int(
unsigned int i);
00059
unsigned int le_int(
unsigned int i);
00060
00061
00062
unsigned short be_short(
unsigned short s);
00063
unsigned short le_short(
unsigned short s);
00064
00066
void *
speex_alloc (
int size);
00067
00069
void *
speex_realloc (
void *ptr,
int size);
00070
00072
void speex_free (
void *ptr);
00073
00075
void *
speex_move (
void *dest,
void *src,
int n);
00076
00077
void speex_error(
char *str);
00078
00079
void speex_warning(
char *str);
00080
00081
void speex_warning_int(
char *str,
int val);
00082
00083
void speex_rand_vec(
float std,
float *data,
int len);
00084
00085
float speex_rand(
float std);
00086
00087
void _speex_putc(
int ch,
void *file);
00088
00089
#endif
Generated on Thu Aug 12 11:24:53 2004 for speex by
1.3.8