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

Christian Buchner Christian.Buchner1 at epost.de
Mon Jun 2 22:16:54 PDT 2003



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);

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



More information about the Speex-dev mailing list