ex

Fork of mbed-os-example-mbed5-blinky by mbed-os-examples

Embed: (wiki syntax)

« Back to documentation index

speex_preprocess.h File Reference

speex_preprocess.h File Reference

Speex preprocessor. More...

Go to the source code of this file.

Typedefs

typedef struct
SpeexPreprocessState_ 
SpeexPreprocessState
 State of the preprocessor (one per channel).

Functions

SpeexPreprocessStatespeex_preprocess_state_init (int frame_size, int sampling_rate)
 Creates a new preprocessing state.
void speex_preprocess_state_destroy (SpeexPreprocessState *st)
 Destroys a preprocessor state.
int speex_preprocess_run (SpeexPreprocessState *st, spx_int16_t *x)
 Preprocess a frame.
int speex_preprocess (SpeexPreprocessState *st, spx_int16_t *x, spx_int32_t *echo)
 Preprocess a frame (deprecated, use speex_preprocess_run() instead)
void speex_preprocess_estimate_update (SpeexPreprocessState *st, spx_int16_t *x)
 Update preprocessor state, but do not compute the output.
int speex_preprocess_ctl (SpeexPreprocessState *st, int request, void *ptr)
 Used like the ioctl function to control the preprocessor parameters.

Detailed Description

Speex preprocessor.

The preprocess can do noise suppression, residual echo suppression (after using the echo canceller), automatic gain control (AGC) and voice activity detection (VAD).

Definition in file speex_preprocess.h.