Displaying 1 result from an estimated 1 matches for "_encframe_size".
2010 Jun 28
1
ACE does not work for me at all.
...rk for me
I am in a voip project using Speex, failed to have hte Speex ACE work. here
is how I initialize it:
/**
* Configurations :
* #define BITS_PER_SAMPLE (16)
* #define SAMPLE_RATE (8000)
* #define CHANNEL_NB (1)
* #define DURATION (20)
* SPEEX_MODEID_NB
*/
_eco_state = speex_echo_state_init(_encframe_size, 10*_encframe_size);
speex_echo_ctl(_eco_state, SPEEX_ECHO_SET_SAMPLING_RATE, &_sample_rate);
_den_state = speex_preprocess_state_init(_encframe_size, _sample_rate);
speex_preprocess_ctl(_den_state, SPEEX_PREPROCESS_SET_ECHO_STATE,
_eco_state);
tmp=1;
speex_preprocess_ctl(_den_state, SPEEX_...