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

Christian Buchner Christian.Buchner1 at epost.de
Wed Jun 4 02:02:59 PDT 2003



> Oops... You've just found a bug. Seems like you're the first one to use
> that call. Thanks for the bug report.

DOH! Internally the speex_header.c module uses that call to fill in 
the frame_size property of the header. That means every Ogg Speex stream
created with the 1.0 release has a broken header. If a decoder relies on
that header value, the sample will sound ...uh... awful ;)

Fortunately speexdec.c uses another function call. And most decoders
will be modelled after speexdec.c - phew ;)

   speex_decoder_ctl(st, SPEEX_GET_FRAME_SIZE, frame_size);

Christian

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