smithja at hkalid.com
2012-May-24 04:59 UTC
[Speex-dev] problem with encoding/decoding examples
<html><body><span style="font-family:Verdana; color:#000000; font-size:10pt;"><div>Hi,</div><div><br></div><div>The problem was with the API I used to setup the audio device. After switching to native system calls to set the audio configuration the 16-bit sample size worked fine. <br></div><div><br></div><div>The Speex encoding/decoding examples are working for me now.</div><div><br></div><div><br></div><div>J<br></div> <blockquote id="replyBlockquote" webmail="1" style="border-left: 2px solid blue; margin-left: 8px; padding-left: 8px; font-size: 10pt; color: black; font-family: verdana;" mce_style="border-left: 2px solid blue; margin-left: 8px; padding-left: 8px; font-size: 10pt; color: black; font-family: verdana;"> <div id="wmQuoteWrapper"> -------- Original Message --------<br> Subject: [Speex-dev] problem with encoding/decoding examples<br> From: <<a href="mailto:smithja@hkalid.com">smithja@hkalid.com</a>><br> Date: Wed, May 23, 2012 3:26 pm<br> To: <a href="mailto:speex-dev@xiph.org">speex-dev@xiph.org</a><br> <br> <span style="font-family: Verdana; color: rgb(0, 0, 0); font-size: 10pt;" mce_style="font-family: Verdana; color: #000000; font-size: 10pt;"><div>Hi,</div> <div> I'm new to Speex and I'm trying to get the example code in the manual working.</div> <div> </div> <div> In the Speex encoding/decoding examples 16-bit samples are used. I can't get the code to work with 8-bit samples and 8 khz freq. I'm not able to set my sample size to 16 bits. </div> <div> </div> <div> How can I make the Speex examples work with 8-bit samples, or should they work with 8-bit samples without modification ?</div> <div> </div> <div> </div> <div>Thanks,</div> <div>J</div></span> <hr>_______________________________________________<br> Speex-dev mailing list<br> <a href="mailto:Speex-dev@xiph.org">Speex-dev@xiph.org</a><br> <a href="http://lists.xiph.org/mailman/listinfo/speex-dev">http://lists.xiph.org/mailman/listinfo/speex-dev</a><br> </div> </blockquote></span></body></html>