[speex-dev] Where can I find the implementation of function speex_encode( )

Jean-Marc Valin jean-marc.valin at hermes.usherb.ca
Sat Feb 15 22:54:31 PST 2003


> I am starting looking the source code of Speex. Maybe a little silly, but 
> I can not find the implementation of the function speex_encode().
> 
> Only something like below
> 
> void speex_encode(void *state, float *in, SpeexBits *bits)
> {
>    (*((SpeexMode**)state))->enc(state, in, bits);
> }
> 
> Does that mean some of the detail implementation is embedded in lib 
> without source code?

No, it just means that the Speex uses function pointers... the function
that gets called depends on whether you're using narrowband or wideband
and is either in nb_celp.c or sb_celp.c

        Jean-Marc


-- 
Jean-Marc Valin, M.Sc.A.
LABORIUS (http://www.gel.usherb.ca/laborius)
Université de Sherbrooke, Québec, Canada

<p>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 242 bytes
Desc: signature.asc
Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20030216/fe588b23/signature-0001.pgp


More information about the Speex-dev mailing list