Hi Marc,<br>
<br>
Thanks for your quick response.<br>
<br>
So if VAD is enabled then VBR will be enable although it's a special VBR.<br>
How about take out the VAD code from the VBR and remove the code else?<br>
<br>
Lianghu<br><br><div><span class="gmail_quote">On 10/24/06, <b class="gmail_sendername">Jean-Marc Valin</b> <<a href="mailto:jean-marc.valin@usherbrooke.ca">jean-marc.valin@usherbrooke.ca</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> 1) there are VAD related codes in the source file preprocess.c.<br>> Will VAD still work If I don't use the source file preprocess.c?<br><br>Yes. The VAD in preprocess.c is an "external" (independent from the
<br>encoder) VAD.<br><br>> 2)The speex manual says VAD can work without VBR enabled.<br>> But I found it's not like that in the source code where VAD is just part<br>> of the VBR.<br><br>This means that you can enable VAD and not VBR. However, the VAD code is
<br>actually a special case of VBR.<br><br>> Can the VBR/ABR/preprocess related souce codes be cut away if VAD and<br>> DTX can work without VBR,ABR or preprocessor?<br><br>If you remove the VBR code, you can't use the VAD anymore. I *think* you
<br>can remove the ABR code, though. Of course, you can also remove<br>VAD/VBR/ABR/DTX altogether and the encoder will still work.<br><br> Jean-Marc<br></blockquote></div><br>