r1378 - trunk/code/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Sun Jun 8 03:09:49 EDT 2008


Author: icculus
Date: 2008-06-08 03:09:45 -0400 (Sun, 08 Jun 2008)
New Revision: 1378

Modified:
   trunk/code/client/cl_cgame.c
Log:
VoIP: Enable Automatic Gain Control.


Modified: trunk/code/client/cl_cgame.c
===================================================================
--- trunk/code/client/cl_cgame.c	2008-06-08 07:09:10 UTC (rev 1377)
+++ trunk/code/client/cl_cgame.c	2008-06-08 07:09:45 UTC (rev 1378)
@@ -937,6 +937,10 @@
 		speex_preprocess_ctl(clc.speexPreprocessor,
 		                     SPEEX_PREPROCESS_SET_DENOISE, &i);
 
+		i = 1;
+		speex_preprocess_ctl(clc.speexPreprocessor,
+		                     SPEEX_PREPROCESS_SET_AGC, &i);
+
 		for (i = 0; i < MAX_CLIENTS; i++) {
 			speex_bits_init(&clc.speexDecoderBits[i]);
 			speex_bits_reset(&clc.speexDecoderBits[i]);




More information about the quake3-commits mailing list