Main Page | Class List | File List | Class Members | File Members

misc.h File Reference

Various compatibility routines for Speex. More...

Go to the source code of this file.

Defines

#define SPEEX_MAJOR_VERSION   1
#define SPEEX_MINOR_VERSION   0
#define SPEEX_MICRO_VERSION   4
#define SPEEX_EXTRA_VERSION   ""
#define SPEEX_VERSION   "speex-1.0.4"
#define VERY_SMALL   1e-30

Functions

void print_vec (float *vec, int len, char *name)
unsigned int be_int (unsigned int i)
unsigned int le_int (unsigned int i)
unsigned short be_short (unsigned short s)
unsigned short le_short (unsigned short s)
void * speex_alloc (int size)
void * speex_realloc (void *ptr, int size)
void speex_free (void *ptr)
void * speex_move (void *dest, void *src, int n)
void speex_error (char *str)
void speex_warning (char *str)
void speex_warning_int (char *str, int val)
void speex_rand_vec (float std, float *data, int len)
float speex_rand (float std)
void _speex_putc (int ch, void *file)


Detailed Description

Various compatibility routines for Speex.


Define Documentation

#define SPEEX_EXTRA_VERSION   ""
 

#define SPEEX_MAJOR_VERSION   1
 

#define SPEEX_MICRO_VERSION   4
 

#define SPEEX_MINOR_VERSION   0
 

#define SPEEX_VERSION   "speex-1.0.4"
 

#define VERY_SMALL   1e-30
 


Function Documentation

void _speex_putc int  ch,
void *  file
 

unsigned int be_int unsigned int  i  ) 
 

unsigned short be_short unsigned short  s  ) 
 

unsigned int le_int unsigned int  i  ) 
 

unsigned short le_short unsigned short  s  ) 
 

void print_vec float *  vec,
int  len,
char *  name
 

void* speex_alloc int  size  ) 
 

Speex wrapper for calloc. To do your own dynamic allocation, all you need to do is replace this function, speex_realloc and speex_free

void speex_error char *  str  ) 
 

void speex_free void *  ptr  ) 
 

Speex wrapper for calloc. To do your own dynamic allocation, all you need to do is replace this function, speex_realloc and speex_alloc

void* speex_move void *  dest,
void *  src,
int  n
 

Speex wrapper for mem_move

float speex_rand float  std  ) 
 

void speex_rand_vec float  std,
float *  data,
int  len
 

void* speex_realloc void *  ptr,
int  size
 

Speex wrapper for realloc. To do your own dynamic allocation, all you need to do is replace this function, speex_alloc and speex_free

void speex_warning char *  str  ) 
 

void speex_warning_int char *  str,
int  val
 


Generated on Mon Oct 11 15:42:53 2004 for speex by doxygen 1.3.7