[speex-dev] 1.1 api suggestion

Jean-Marc Valin Jean-Marc.Valin at USherbrooke.ca
Tue Apr 20 14:35:56 PDT 2004


> I'd suggest doing something like we did with vorbis (but in reverse): 
> Add new speex_encode_int() and speex_decode_int() calls that that take 
> the short* argument (or a typedef that's definitely 16 bits). Leave the 
> plain speex_decode() and speex_encode() functions taking floats, and 
> make them a simple wrapper that does the conversion and calls the _int 
> version.

I've just made the change to subversion. Please try it and see if it
breaks stuff. If not, I'll release that as 1.1.5.

        Jean-Marc


-- 
Jean-Marc Valin
http://www.xiph.org/~jm/
LABORIUS
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/20040420/d0124892/signature.pgp


More information about the Speex-dev mailing list