> 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 ? Can you use a debugger to see where the infinite loop is. I suspect the problem is somewhere in your code, but in case it's in Speex, I'll find it. Jean-Marc