[Speex-dev] Does VAD/DTX work without VBR and Preprocessor

Jean-Marc Valin jean-marc.valin at usherbrooke.ca
Tue Oct 24 00:15:57 PDT 2006

> 1) there are VAD related codes in the source file preprocess.c.
> Will VAD still work If  I don't use the source file preprocess.c?

Yes. The VAD in preprocess.c is an "external" (independent from the
encoder) VAD.

> 2)The speex manual says VAD can work without VBR enabled.
> But I found it's not like that in the source code where VAD is just part
> of  the VBR.

This means that you can enable VAD and not VBR. However, the VAD code is
actually a special case of VBR.

> Can the VBR/ABR/preprocess related souce codes be cut away if VAD and
> DTX  can work without VBR,ABR or preprocessor?

If you remove the VBR code, you can't use the VAD anymore. I *think* you
can remove the ABR code, though. Of course, you can also remove
VAD/VBR/ABR/DTX altogether and the encoder will still work.


More information about the Speex-dev mailing list