[speex-dev] 1.1 api suggestion

Conrad Parker conrad at metadecks.org
Tue Apr 20 15:20:13 PDT 2004

On Tue, Apr 20, 2004 at 05:35:56PM -0400, Jean-Marc Valin wrote:
> > 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.

the backwards-compatability works fine for me, thanks!


mood: if I want chilli on my ice-cream, I'll put chilli on my ice-cream.
now hacking: http://www.annodex.net/software/libfishsound/
--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'speex-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.

More information about the Speex-dev mailing list