[speex-dev] Framesize for UWB vs. WB encoding

Jean-Marc Valin jean-marc.valin at hermes.usherb.ca
Mon Jun 2 22:36:26 PDT 2003


Oops... You've just found a bug. Seems like you're the first one to use
that call. Anyway, it's now fixed in CVS (both trunk and 1.0.x branch).
Thanks for the bug report.

        Jean-Marc

Le mar 03/06/2003 à 01:16, Christian Buchner a écrit :
> Hi there.
> 
> I am having a little trouble understanding the frame sizes chosen
> by the codec.
> 
> testenc_uwb.c from the speex-1.0 source distribution has a framesize
> of 640 hardcoded and makes use of this value exclusively.
> 
> However, a mode query on the actual codec returns 320 as a framesize
> for this mode.
> 
>    int tmp;
>    speex_mode_query(&speex_uwb_mode, SPEEX_MODE_FRAME_SIZE, &tmp);
> 
> 
> testenc_wb.c from the speex-1.0 source distribution has a framesize
> of 320 hardcoded and makes use of this value exclusively.
> 
> However, a mode query on the actual codec returns 160 as a framesize
> for this mode.
> 
>    int tmp;
>    speex_mode_query(&speex_wb_mode, SPEEX_MODE_FRAME_SIZE, &tmp);
> 
> How can this discrepancy be explained?
> 
> Could anyone shed some light here? ;) thanks.
> 
> Christian
> 
> --- >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.

-- 
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: 190 bytes
Desc: Ceci est une partie de message numériquement signée
Url : http://lists.xiph.org/pipermail/speex-dev/attachments/20030603/8be97d3f/signature.pgp


More information about the Speex-dev mailing list