<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=ks_c_5601-1987">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=614053704-26012006><FONT size=2>Hi.</FONT></SPAN></DIV>
<DIV><SPAN class=614053704-26012006><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=614053704-26012006><FONT size=2>I've implemented "echo cancel"
to voip project.</FONT></SPAN></DIV>
<DIV><SPAN class=614053704-26012006><FONT size=2>But it doesn't work well . (I
cannot feel the enhancement with activated AGC)</FONT></SPAN></DIV>
<DIV><SPAN class=614053704-26012006><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=614053704-26012006><FONT size=2>My encode settings
:</FONT></SPAN></DIV>
<DIV><SPAN class=614053704-26012006><FONT size=2>1. frame size : 320
bytes.</FONT></SPAN></DIV>
<DIV><SPAN class=614053704-26012006><FONT size=2>2. sampling rate : 16000 Hz
(WB)</FONT></SPAN></DIV>
<DIV><SPAN class=614053704-26012006><FONT size=2>3. mono</FONT></SPAN></DIV>
<DIV><SPAN class=614053704-26012006><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=614053704-26012006><FONT size=2>echo state initialized like
this :</FONT></SPAN></DIV>
<DIV><SPAN class=614053704-26012006><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=614053704-26012006><FONT size=2><STRONG>echo_state =
speex_echo_state_init(framesize, framesize*16);</STRONG></FONT></SPAN></DIV>
<DIV><SPAN class=614053704-26012006><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=614053704-26012006><FONT size=2>and befor encode
:</FONT></SPAN></DIV>
<DIV><SPAN class=614053704-26012006><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=614053704-26012006><FONT
size=2><STRONG>speex_echo_cancel(echo_state, input_data, decoded_data,
echo_canceled_data, residue);</STRONG></FONT></SPAN></DIV>
<DIV><SPAN class=614053704-26012006><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=614053704-26012006><FONT size=2>input_data : recorded
data</FONT></SPAN></DIV>
<DIV><SPAN class=614053704-26012006><FONT size=2>decoded_data : previous decoded
data </FONT></SPAN></DIV>
<DIV><SPAN class=614053704-26012006><FONT size=2>echo_canceled_data : echo
cancel output data</FONT></SPAN></DIV>
<DIV><SPAN class=614053704-26012006><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=614053704-26012006><FONT size=2>Is there any faults for my
"echo cancel" usage?</FONT></SPAN></DIV>
<DIV><SPAN class=614053704-26012006><FONT size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=614053704-26012006><FONT size=2>P.S : <FONT face=Arial>Dear
Jean-Marc.</FONT></FONT></SPAN></DIV>
<DIV><SPAN class=614053704-26012006><FONT face=Arial
size=2> Thank you for kind
answers.</FONT></SPAN></DIV></BODY></HTML>