Using /dev/audio directly is usually a really bad idea. What you're
going to get is usually unpredictable and on many systems, the format
default to u-law, which is not supported by speexenc.
Jean-Marc
Le jeudi 19 mai 2005 ? 19:55 +0530, santosh hegde a ?crit
:> hi,
> The problem associated with Line in Encoding (as discussed in the
> mail dated Mon May 2 05:09:11 PDT 2005 -SUB:Line in Encoding) is still
> persisting.
> I tried encoding raw input (speech) at sampling rate of 16kHz (The
> encoding was done on the Cirrus ARM EDB9302 in linux platform)My command
> line was
> ./speexenc --rate 16000 /dev/audio /filename.spx
> The encoding was fine for the first time .But when I tried to encode
> again with the same parameters, the decoded speech was too fast and
noisy.My
> initial guess was that the device driver files got corrupted?However, the
> inbuilt functions to record and play wav files were working properly. Next
i
> rebooted the board and repeated the procedure but the results were same.
> Why is it that the encoding is not happening only the first time?
> Thanks with advance.
> Regards,
> Santosh
>
> _________________________________________________________________
> Claim your space online! http://www.msn.co.in/spaces Share your world for
> free!
>
> _______________________________________________
> Speex-dev mailing list
> Speex-dev@xiph.org
> http://lists.xiph.org/mailman/listinfo/speex-dev
>
--
Jean-Marc Valin <Jean-Marc.Valin@USherbrooke.ca>
Universit? de Sherbrooke