#include "speex/speex_types.h"
| #define SPEEX_PREPROCESS_GET_AGC 3 |
Get preprocessor Automatic Gain Control state
| #define SPEEX_PREPROCESS_GET_AGC_LEVEL 7 |
Get preprocessor Automatic Gain Control level
| #define SPEEX_PREPROCESS_GET_DENOISE 1 |
Get preprocessor denoiser state
| #define SPEEX_PREPROCESS_GET_DEREVERB 9 |
Get preprocessor dereverb state
| #define SPEEX_PREPROCESS_GET_DEREVERB_DECAY 13 |
Get preprocessor dereverb decay
| #define SPEEX_PREPROCESS_GET_DEREVERB_LEVEL 11 |
Get preprocessor dereverb level
| #define SPEEX_PREPROCESS_GET_VAD 5 |
Get preprocessor Voice Activity Detection state
| #define SPEEX_PREPROCESS_SET_AGC 2 |
Set preprocessor Automatic Gain Control state
| #define SPEEX_PREPROCESS_SET_AGC_LEVEL 6 |
Set preprocessor Automatic Gain Control level
| #define SPEEX_PREPROCESS_SET_DENOISE 0 |
Set preprocessor denoiser state
| #define SPEEX_PREPROCESS_SET_DEREVERB 8 |
Set preprocessor dereverb state
| #define SPEEX_PREPROCESS_SET_DEREVERB_DECAY 12 |
Set preprocessor dereverb decay
| #define SPEEX_PREPROCESS_SET_DEREVERB_LEVEL 10 |
Set preprocessor dereverb level
| #define SPEEX_PREPROCESS_SET_VAD 4 |
Set preprocessor Voice Activity Detection state
| int speex_preprocess | ( | SpeexPreprocessState * | st, | |
| spx_int16_t * | x, | |||
| spx_int32_t * | echo | |||
| ) |
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, | |
| spx_int16_t * | x, | |||
| spx_int32_t * | echo | |||
| ) |
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
1.5.7.1