[speex-dev] speex_encode / speex_encode_int ... already sorry =)

Conrad Parker conrad at metadecks.org
Sun Apr 25 07:57:54 PDT 2004



On Sun, Apr 25, 2004 at 04:18:16PM +0200, crazylord wrote:
> Hi, i know this question has already been asked, i've checked mailing 
> list logs but ...
> I didn't figure out the solution for my question.
> 
> I want to use basic functionnality of speex, only VAD, no pre/post 
> filter, even no VBR. But i *really* want to use less mem/cpu i can.
> So in which format should i pass data to speex_encode(_int) , float or 
> short ?
> I quickly looked at the source code and i saw the speex_encode doing 
> float to short convertion but it has protected by some #ifdef so ..
> 
> Easy question, i want to:
>    - pass buffer to Speex in its native format
>    - encode fast with low resource, avoid buffer convertion ...
> 
> speex_encode_int / speex_encode ?

peex_encode_int()

but it will only work with version 1.1 (and maybe future versions), if
you want compatability with the stable version 1.0 you need to use
speex_encode().

Conrad.
--- >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