[speex-dev] Re: [speex-dev] Re: [speex-dev] Difference in Encoding of files on Pocket PC vis-à-vis desktop

Jean-Marc Valin Jean-Marc.Valin at USherbrooke.ca
Thu May 27 16:12:44 PDT 2004

> Does no-one have any idea here? Grepping the libspeex sources for "char" 
> produces several references which imply that the code assumes a char is 
> 8 bits. Jean-Marc: would you say that this is an assumption that the 
> code makes?

Right now, the code *does* assume that a char is 8 bits. However, this
assumption is only made in the bit packet (bits.c), so it should be
fairly easy to make it work for a platform where a char is 16 bits.
Still regarding fixed-point, right now, spx_word_16 is defined as
"short" and spx_word_32 is defined as "int", but that's only in arch.h
and eventually, it should be replaced by something a bit better.


Jean-Marc Valin
Université de Sherbrooke, Québec, Canada

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: Ceci est une partie de message numériquement signée.
Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20040527/f675ed8a/signature-0001.pgp

More information about the Speex-dev mailing list