<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><br>hi,<br>&nbsp;I tried that . we did the same as in the source. but we lost voice also no voice is coming after the echo cancellation some noise is coming.&nbsp; here I am sending code we used.<br><br>echo_state = speex_echo_state_init(20, 100); - to get echo state.<br>speex_preprocess_ctl(preprocess_state,SPEEX_PREPROCESS_SET_ECHO_STATE,echo_state);<br><br>To cancel echo<br>speex_echo_cancellation(echo_state, (spx_int16_t*)input, (spx_int16_t*)&amp;FramePlayed, (spx_int16_t*)&amp;EchoCancelledFrame);<br><br>then we encode it using<br>speex_encode_int(enc_state, (spx_int16_t*)&amp;EchoCancelledFrame, &amp;bits);<br><br>Without echo cancellation our code works properly. only after adding echo cancellation it gives problem. Can you give some help to get out of this problem.<br><br>Thank you<br>Suresh A<br><br><br><br><br>--- On <b>Sun, 27/7/08, Jean-Marc Valin
 <i>&lt;jean-marc.valin@usherbrooke.ca&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">From: Jean-Marc Valin &lt;jean-marc.valin@usherbrooke.ca&gt;<br>Subject: Re: [Speex-dev] Problem in Echocancelation<br>To: boby_suresh@yahoo.com<br>Cc: speex-dev@xiph.org<br>Date: Sunday, 27 July, 2008, 6:59 AM<br><br><pre>See testecho.c in the source distribution.<br><br>        Jean-Marc<br><br>boby_suresh@yahoo.com a écrit :<br>&gt; Hi,<br>&gt; <br>&gt; We are using your speex codec in our VirtuvalClassRoom product. It's<br>&gt; working good but we have problem using your echo canceller. Can you send<br>&gt; me some code samples which use the echo cancelation?<br>&gt; <br>&gt; thanks<br>&gt; suresh A<br>&gt; <br>&gt; <br>&gt; ------------------------------------------------------------------------<br>&gt; From Chandigarh to Chennai - find friends all over India. Click
 here.<br>&gt;<br>&lt;http://in.rd.yahoo.com/tagline_groups_10/*http://in.promos.yahoo.com/groups/citygroups/&gt;<br>&gt; <br>&gt; <br>&gt; <br>&gt; ------------------------------------------------------------------------<br>&gt; <br>&gt; _______________________________________________<br>&gt; Speex-dev mailing list<br>&gt; Speex-dev@xiph.org<br>&gt; http://lists.xiph.org/mailman/listinfo/speex-dev<br></pre></blockquote></td></tr></table><br>



      <!--2--><hr size=1></hr> Unlimited freedom, unlimited storage. <a href="http://in.rd.yahoo.com/tagline_mail_2/*http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/">Get it now</a>