<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div style="" class=""><br style=""><span style="" class="">You need to look at the 
archive.&nbsp; The speex VAD does not work.&nbsp; I would recommend looking at the
 WebRTC source.&nbsp;&nbsp; It is&nbsp; not great but a good starting point.&nbsp; You need to apply a threshold to this as well.<br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;" class=""><br><span style="" class=""></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;" class=""><span style="" class="">Vasant Shridhar<br></span></div> <div class="qtdSeparateBR"><br><br></div><div style="display: block;" class="yahoo_quoted"> <div class="" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div class="" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;
 font-size: 12pt;"> <div style="" class="" dir="ltr"> <font style="" class="" face="Arial" size="2"> On Saturday, June 28, 2014 6:09 PM, Nhan Nguyen &lt;nhandt3@gmail.com&gt; wrote:<br style="" class=""> </font> </div>  <br style="" class=""><br style="" class=""> <div style="" class=""><div style="" class="" id="yiv5924981502"><div style="" class="" dir="ltr"><div style="" class=""><br style="" class=""></div><div style="" class="">Hi All,</div><div style="" class=""><br style="" class=""></div>I am trying to use VAD opption of speex encode on STM32F4 chip. But when I use &nbsp;<i style="" class="">speex_preprocess_run </i>function, It allways return 1.&nbsp;<div style="" class=""><br style="" class=""></div><div style="" class="">
Anyone can show me the problem? And please, give me an example about using VAD.</div><div style="" class="">&nbsp;Thanks in advance,</div><div style="" class=""><br style="" class=""></div><div style="" class="">Regards,</div><div style="" class="">Nhan.</div></div></div><br style="" class="">_______________________________________________<br style="" class="">Speex-dev mailing list<br style="" class=""><a style="" class="" ymailto="mailto:Speex-dev@xiph.org" href="mailto:Speex-dev@xiph.org">Speex-dev@xiph.org</a><br style="" class=""><a style="" class="" href="http://lists.xiph.org/mailman/listinfo/speex-dev" target="_blank">http://lists.xiph.org/mailman/listinfo/speex-dev</a><br style="" class=""><br style="" class=""><br style="" class=""></div>  </div> </div>  </div> </div></body></html>