VoIP: tweaked VAD code.

Also added cl_voipVADThreshold cvar...if the power of a set of Speex frames
 doesn't exceed this value, it isn't transmitted.
This commit is contained in:
Ryan C. Gordon 2008-06-08 07:29:25 +00:00
parent fd239c58a8
commit be9ae48039
2 changed files with 4 additions and 1 deletions

View file

@ -412,6 +412,7 @@ extern cvar_t *cl_mumbleScale;
// send to no one, or a comma-separated list of client numbers:
// "0,7,2,23" ... an empty string is treated like "all".
extern cvar_t *cl_voipUseVAD;
extern cvar_t *cl_voipVADThreshold;
extern cvar_t *cl_voipSend;
extern cvar_t *cl_voipSendTarget;
extern cvar_t *cl_voipGainDuringCapture;