[Speex-dev] Re: compatibility issues.

Jean-Marc Valin jean-marc.valin at usherbrooke.ca
Thu May 24 16:23:28 PDT 2007

> does this have anything to do with the message on the example code:
> "the packing used is not compatible with speexenc/speexdec" i know it
> may sound stupid but it is my first time using speex lib. as well i
> had assumed this was so and tweaked the decoder code to decode the
> same file that the example encode code made, but i get a "packet is
> larger than allocated buffer could not resize buffer, truncating
> input" message.

Well, the note says it all. It's just not compatible. speexenc/dec pack
Speex data into an Ogg container, while the sampleenc/dec code just
creates an incompatible ad-hoc format just to demonstrate how to use
Speex (without bothering with the heavy Ogg code).


More information about the Speex-dev mailing list