[Speex-dev] Decode win32 encoded files on TI C5x???

Jean-Marc Valin jean-marc.valin at usherbrooke.ca
Wed Oct 4 07:15:20 PDT 2006


> For encoding into and decoding from "raw Speex stream" (if you can call
> it that), I suggest you start with the sampleenc.c and sampledec.c
> example code in Appendix B of the Speex Manual.

There is no such a thing as a "raw Speex format". Also, sampleenc.c and
sampledec.c are good for learning how to use the API, but the compressed
format shouldn't be used in any real application.

	Jean-Marc

> Peter Mlakar wrote:
>>
>> I have successfully DECODED speex on TI C5509:
>>
>> #define TESTENC_BYTES_PER_FRAME 20 /* 8kbps */
>>
>> #define TESTENC_QUALITY 4 /* 8kbps */
>>
>> I am trying to generate the files I need with speexenc.exe:
>>
>> speexenc -n --quality 4 -V male.wav male.spx
>>
>> But I can’t decode the files on C5x.
>>
>> Yes, I have seen that speexenc.exe adds Ogg header and have deleted
>> the first 396 byte’s of the file for test.
>>
>> Where am I going wrong?
>>
>> Can I generate with speexenc.exe raw speex files for the C5x?
>>
>> Regards
>>
>> Peter
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Speex-dev mailing list
>> Speex-dev at xiph.org
>> http://lists.xiph.org/mailman/listinfo/speex-dev
>>   
> 
> _______________________________________________
> Speex-dev mailing list
> Speex-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/speex-dev
> 
> 


More information about the Speex-dev mailing list