Main Page | Compound List | File List | Compound Members | File Members

speex_preprocess.h File Reference

Go to the source code of this file.

Compounds

struct  SpeexPreprocessState

Defines

#define SPEEX_PREPROCESS_SET_DENOISE   0
#define SPEEX_PREPROCESS_GET_DENOISE   1
#define SPEEX_PREPROCESS_SET_AGC   2
#define SPEEX_PREPROCESS_GET_AGC   3
#define SPEEX_PREPROCESS_SET_VAD   4
#define SPEEX_PREPROCESS_GET_VAD   5
#define SPEEX_PREPROCESS_SET_AGC_LEVEL   6
#define SPEEX_PREPROCESS_GET_AGC_LEVEL   7

Typedefs

typedef SpeexPreprocessState SpeexPreprocessState

Functions

SpeexPreprocessStatespeex_preprocess_state_init (int frame_size, int sampling_rate)
void speex_preprocess_state_destroy (SpeexPreprocessState *st)
int speex_preprocess (SpeexPreprocessState *st, float *x, float *noise)
void speex_preprocess_estimate_update (SpeexPreprocessState *st, float *x, float *noise)
int speex_preprocess_ctl (SpeexPreprocessState *st, int request, void *ptr)


Define Documentation

#define SPEEX_PREPROCESS_GET_AGC   3
 

#define SPEEX_PREPROCESS_GET_AGC_LEVEL   7
 

#define SPEEX_PREPROCESS_GET_DENOISE   1
 

#define SPEEX_PREPROCESS_GET_VAD   5
 

#define SPEEX_PREPROCESS_SET_AGC   2
 

#define SPEEX_PREPROCESS_SET_AGC_LEVEL   6
 

#define SPEEX_PREPROCESS_SET_DENOISE   0
 

#define SPEEX_PREPROCESS_SET_VAD   4
 


Typedef Documentation

typedef struct SpeexPreprocessState SpeexPreprocessState
 


Function Documentation

int speex_preprocess SpeexPreprocessState st,
float *  x,
float *  noise
 

Preprocess a frame

int speex_preprocess_ctl SpeexPreprocessState st,
int  request,
void *  ptr
 

Used like the ioctl function to control the preprocessor parameters

void speex_preprocess_estimate_update SpeexPreprocessState st,
float *  x,
float *  noise
 

Preprocess a frame

void speex_preprocess_state_destroy SpeexPreprocessState st  ) 
 

Destroys a denoising state

SpeexPreprocessState* speex_preprocess_state_init int  frame_size,
int  sampling_rate
 

Creates a new preprocessing state


Generated on Sun Sep 21 16:07:09 2003 for speex by doxygen 1.3.2