Jonathan Wang
2004-Aug-06 15:01 UTC
[speex-dev] DTX and VAD doesn't work on one of my computers.
Hi there, I enable DTX and VAD in speex_encode to detect whether there is silence in voice data. But the same programme got different result on my computers. The function speex_encode always return 38 on one of my computers although it is silence. On all other computers the function speex_encode return 1 when it is silence. It means DTX and VAD doesn't work on particular OS or PC. Do anyone have some idea what is the reason? Thanks Jonathan <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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Jean-Marc Valin
2004-Aug-06 15:01 UTC
[speex-dev] DTX and VAD doesn't work on one of my computers.
This seems to indicate that speex_encode never detects silence, which is
possible because its VAD is pretty simple (might want to try the one in
the preprocessor). As for the return value, though 1 and 38 will be
interpreted the same (TRUE), I really don't see how you can get 38 since
the code only contains "return 0" and "return 1". Might want
to check
your compiler more closely.
Jean-Marc
Le jeu 08/01/2004 à 09:18, Jonathan Wang a écrit :> Hi there,
>
> I enable DTX and VAD in speex_encode to detect whether there is
> silence in voice data. But the same programme got different result on
> my computers. The function speex_encode always return 38 on one of my
> computers although it is silence. On all other computers the function
> speex_encode return 1 when it is silence. It means DTX and VAD doesn't
> work on particular OS or PC. Do anyone have some idea what is the
> reason?
>
> Thanks
> Jonathan
--
Jean-Marc Valin, M.Sc.A., ing. jr.
LABORIUS (http://www.gel.usherb.ca/laborius)
Université de Sherbrooke, Québec, Canada
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: Ceci est une partie de message numériquement signée.
Url :
http://lists.xiph.org/pipermail/speex-dev/attachments/20040110/3a524d66/signature-0001.pgp