Commit eaff0812 authored by smorlat's avatar smorlat
Browse files

add a trace.

Validated.

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@608 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
parent 0d636e13
...@@ -96,7 +96,8 @@ static void speex_ec_preprocess(MSFilter *f){ ...@@ -96,7 +96,8 @@ static void speex_ec_preprocess(MSFilter *f){
s->filterlength=(s->tail_length_ms*s->samplerate)/1000; s->filterlength=(s->tail_length_ms*s->samplerate)/1000;
if (s->delay_ms!=0) if (s->delay_ms!=0)
s->playback_delay=s->delay_ms*s->samplerate/1000; s->playback_delay=s->delay_ms*s->samplerate/1000;
ms_message("Initializing speex echo canceler with framesize=%i, filterlength=%i, playback_delay=%i",
s->framesize,s->filterlength,s->playback_delay);
s->ecstate=speex_echo_state_init(s->framesize,s->filterlength); s->ecstate=speex_echo_state_init(s->framesize,s->filterlength);
s->den = speex_preprocess_state_init(s->framesize, s->samplerate); s->den = speex_preprocess_state_init(s->framesize, s->samplerate);
speex_echo_ctl(s->ecstate, SPEEX_ECHO_SET_SAMPLING_RATE, &s->samplerate); speex_echo_ctl(s->ecstate, SPEEX_ECHO_SET_SAMPLING_RATE, &s->samplerate);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment