Displaying 2 results from an estimated 2 matches for "samplesspeaker".
2006 Jun 07
7
AEC frame size
?
hi all,
i am using the Acoustic Echo Cancellation from "Speex 1.1.12 version" in my VOIP application. Is it that the frame length to be chosen should always be 20ms or can i have flexibility in chosing the frame lenght?
on what parameters does the frame length choise depends?
thank you all,
Shri.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Jun 07
0
Echo canceller problem
...anceler state:
SpeexEchoState * echo_state = speex_echo_state_init(FRAME_SIZE,
FRAME_SIZE * 5);
FRAME_SIZE is in my project 160 samples. I have 8000ksaples/s, so I must
call echo canceler every 20ms.
and later in the loop I call it:
speex_echo_cancel(echo_state, (short *)Samples, (short
*)SamplesSpeaker, (short *)SamplesOut, NULL);
I give as the parameters to the function the data from tables now.
The problem is when I call speex_echo_cancel it does not return. It goes
into infinite loop somewhere.
I test now on the simulator.
What can cause the infinite looping ?
Please help.