[Speex-dev] problem with encoding and decoding splitting

Leonardi Andrea andrea.tn at quipo.it
Tue Jul 4 11:14:10 PDT 2006

I'm sorry, but I've found in the paper "Speex: A Free Codec For Free Speech" at page 5 the phrase "If more than one channel
is used, then an instance is required for each channel
(Speex is not stateless)". What does it mean? Could it be that is the problem that I've met?

---------- Original Message ----------------------------------
From: "Leonardi Andrea" <andrea.tn at quipo.it>
Reply-To: andrea.tn at quipo.it
Date:  Tue,  4 Jul 2006 14:53:39 +0200

> Hi Folks!
>I'm using Speex in my program, to develope a program that makes use of a multiple descriptions concept to encode and decode a WAVE file.. and here I have the problems:
>In my code I create two file splitting odd and even sample, and then I codify them as done in samplenc.c.
>I don't have any problems until here, but when I start with the decode part, I have some problem. I have created two while, one to decode odd sample, the other for the even sample. I don't have to problem to decode odd sample, but it seems that after that the program can't decode anymore. It decodes also the even samples, but it inserts some errors in the decoded file. And the strange is that if a comment the first while, the second correctly works.
>I've tried to create new Speex structure, and to destroy the one used in the first while, but nothing happens..
>If someone could help me..
>Thanks a lot! 
>Speex-dev mailing list
>Speex-dev at xiph.org
>Quipo Free Internet - 2 email, 150 Mb di spazio web e molto di più.
>ADSL, Hardware & Software Online Store

More information about the Speex-dev mailing list