Main Page   Compound List   File List   Compound Members   File Members  

misc.c File Reference

#include "misc.h"
#include <stdlib.h>
#include <string.h>
#include <stdio.h>

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)

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 Wed Feb 11 13:48:37 2004 for speex by doxygen1.2.15