Hi Randy,<br><br>Thanks for reply. I have one question though.<br><br>While compiling the speex (downloaded from <a href="http://downloads.xiph.org/releases/speex/speex-1.2rc1.tar.gz">http://downloads.xiph.org/releases/speex/speex-1.2rc1.tar.gz</a>), I gave <font size="4">./configure -enable-ti-c55x</font> option and then built the library through make and make install using cygwin. In this case, I get this error "<span style="font-size: medium;">error: member "bits.o" of archive "c:/cygwin/usr/local/lib/libspeex.a" is not recognized object file</span>"<br>
<br>Enabling c55x option while configuring the speex is not supposed to tackle this problem?<br><br>Awaiting your reply.<br><br>Regards,<br>Vijay<br><br><div class="gmail_quote">On Fri, Apr 9, 2010 at 11:04 PM, Randy Yates <span dir="ltr"><<a href="mailto:yates@ieee.org">yates@ieee.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Oh my.<br>
<br>
The c:/Program Files/Speex/libspeex.lib file is a Windows/x86 library<br>
file. The code within this files is not C55x binary but x86 binary.<br>
Further, the format of a Windows/x86 library file is different from that<br>
produced by the C55x code generation tools' archive utility, and that is<br>
what the linker is complaining about.<br>
<br>
As far as I know, there is no pre-developed C55x speex library, so<br>
you'll have to build it yourself.<br>
<br>
--Randy<br>
<div><div></div><div class="h5"><br>
<br>
Vijay Gabale <<a href="mailto:vijay.gabale@gmail.com">vijay.gabale@gmail.com</a>> writes:<br>
<br>
> Hi,<br>
><br>
> I am currently working on C5505 USB stick<br>
> <a href="http://focus.ti.com/docs/toolsw/folders/print/tmdx5505ezdsp.html" target="_blank">http://focus.ti.com/docs/toolsw/folders/print/tmdx5505ezdsp.html</a> to sample<br>
> input voice and encode it. For compiling and buring usual programs, I am<br>
> using CCStudio 4.0.<br>
><br>
> For encoding voice samples, I am using Speex codec binary<br>
> <a href="http://downloads.xiph.org/releases/speex/speex-1.2beta3-win32.zip" target="_blank">http://downloads.xiph.org/releases/speex/speex-1.2beta3-win32.zip</a> or<br>
> <a href="http://downloads.us.xiph.org/releases/speex/speex_win32_1.0.4_setup.exe" target="_blank">http://downloads.us.xiph.org/releases/speex/speex_win32_1.0.4_setup.exe</a>. I<br>
> could include "speex/speex.h" without any compilation error.<br>
><br>
> But as soon as I insert any speex function call like<br>
> "speex_bits_init(&bits)", the linker throws error something like this "error:<br>
> Corrupt member header: 'C:/Program Files/Speex/libspeex/libspeex.lib'" I<br>
> have included following things for compilation and linking in CC Studio IDE:<br>
><br>
> 1. project -> properties -> C5500 compiler -> include options : added path<br>
> to speex/speex.h<br>
><br>
> 2. project -> properties -> c5500 linker -> fie search path : added<br>
> libspeex.lib and added path "c:/Program Files/Speex/libspeex" to<br>
> library-search-path.<br>
><br>
> Any ideas as to how to make speex code work with C5505 USB stick. The error<br>
> I have mentioned seems to be linking error.<br>
><br>
> Awaiting your replies.<br>
><br>
> Vijay<br>
</div></div>> _______________________________________________<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" target="_blank">http://lists.xiph.org/mailman/listinfo/speex-dev</a><br>
<font color="#888888"><br>
--<br>
Randy Yates % "She's sweet on Wagner-I think she'd die for Beethoven.<br>
Digital Signal Labs % She love the way Puccini lays down a tune, and<br>
mailto://<a href="mailto:yates@ieee.org">yates@ieee.org</a> % Verdi's always creepin' from her room."<br>
<a href="http://www.digitalsignallabs.com" target="_blank">http://www.digitalsignallabs.com</a> % "Rockaria", *A New World Record*, ELO<br>
</font></blockquote></div><br>