Hello, In your case, srcsize and dstsize is the char* casted size of the buffers.
dst buffer must hold dstsize/2 shorts Jérôme -----Message d'origine----- De : Cancer Clouds are coming [mailto:[EMAIL PROTECTED] Envoyé : mercredi 31 mai 2006 10:23 À : [EMAIL PROTECTED]; [email protected] Objet : RE: [Wengophone-devel] Problem with portaudio driver and codecdecoding.. Hi, codecname_decode(void *ctx, const void *src, int srcsize, void *dst, int dstsize) How to calculate src size and dst size ? Faisal >From: Jérôme WAGNER <[EMAIL PROTECTED]> >To: "'Cancer Clouds are coming'" ><[EMAIL PROTECTED]>,<[email protected]> >Subject: RE: [Wengophone-devel] Problem with portaudio driver and >codecdecoding.. >Date: Tue, 30 May 2006 23:46:39 +0200 > >Hello, > >When you say " void *src and void *dst ", what function exactly are you >talking about ? > >Cycling at 20ms, if your codec is 8KHz, you get 160 short from the >MICrophone for example. Does that help ? > >Jérôme _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ _______________________________________________ Wengophone-devel mailing list [email protected] http://dev.openwengo.com/mailman/listinfo/wengophone-devel
