[Speex-dev] Decoding multiple encoded frames

Keith Kyzivat kkyzivat at tripleplayint.com
Thu Oct 9 08:17:35 PDT 2008


Caveat: Take what I'm saying with a grain of salt -- I haven't actually
written any code that decodes speex frames myself, though I have written
code using Jean-Marc's Speexdsp lib.

Comments below inline

On Thu, Oct 9, 2008 at 9:28 AM, Darren Longhorn <
darren.longhorn at redembedded.com> wrote:

> I think I still didn't fully understand. As a test I encoded some frames
> (wideband, with quality set to 8), each were 70 bytes. I then did three
> things:
>
>  - passed half of it to the decoder
>  - passed exactly one frame to the decoder
>  - I passed two concatenated frames to the decoder.
>
> In all cases speex_decode_int returned 0.
>
> Unless I misunderstood what you say above, I think it should have
> returned 0 only for the third test, -1 for the second test and perhaps
> -2 for the first test?




More information about the Speex-dev mailing list