Skip to content
Snippets Groups Projects
Commit 3be76947 authored by Alexandre Savard's avatar Alexandre Savard
Browse files

[#2209] Change frameSize speex 32kHz

parent c8293ff1
No related branches found
No related tags found
No related merge requests found
......@@ -80,10 +80,10 @@ class Speex : public AudioCodec
speex_encoder_ctl (_speex_enc_state, SPEEX_SET_COMPLEXITY, &complex);
// Init the decoder struct
speex_decoder_ctl (_speex_dec_state, SPEEX_GET_FRAME_SIZE, &_speex_frame_size);
speex_decoder_ctl (_speex_dec_state, SPEEX_GET_FRAME_SIZE, &_frameSize);
// Init the preprocess struct
_preprocess_state = speex_preprocess_state_init (_speex_frame_size,_clockRate);
_preprocess_state = speex_preprocess_state_init (_frameSize,_clockRate);
speex_preprocess_ctl (_preprocess_state, SPEEX_PREPROCESS_SET_DENOISE, &enable);
speex_preprocess_ctl (_preprocess_state, SPEEX_PREPROCESS_SET_NOISE_SUPPRESS, &attenuation);
speex_preprocess_ctl (_preprocess_state, SPEEX_PREPROCESS_SET_VAD, &enable);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment