Jonathan Wang
2004-Aug-06 15:01 UTC
[speex-dev] DTX and VAD doesn't work on one of my computers.
Dear Jean, Thank you so much for reply my message. I am sorry the function return 38 is speex_bits_write(). This function doesn't work on one of my computers. But after I add the function speex_preprocess(), it works well. I am wondering what is the possible reason? What the function speex_preprocess() does? Another problem I have now is when I enable dtx and vad with function speex_preprocess(). The sound disappeared after I decode it. What shall I do? Thanks Jonathan> 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.<p>> 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<p><p><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.
> I am sorry the function return 38 is speex_bits_write(). This function > doesn't work on one of my computers. But after I add the function > speex_preprocess(), it works well. I am wondering what is the possible > reason? What the function speex_preprocess() does?Actually, 38 is normal for the 15 kbps mode. For the rest, could you give more details. Also, what platform is the problematic machine? (What CPU, what OS, what compiler).> Another problem I have now is when I enable dtx and vad with function > speex_preprocess(). The sound disappeared after I decode it. What > shall I do?What do you mean exactly? Jean-Marc -- 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/6c14d4ae/signature-0001.pgp