wjh@sjtu.edu
2004-Aug-06 15:01 UTC
[speex-dev] Where can I find the implementation of function speex_encode( )
Hi, Guys 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? I am new in these Open Source Code project. Thank you for your time. Best regards --- Shanghai Jiaotong University Alumni Email System http://mail.sjtu.edu --- --- >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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Jean-Marc Valin
2004-Aug-06 15:01 UTC
[speex-dev] Where can I find the implementation of function speex_encode( )
> 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