aboutsummaryrefslogtreecommitdiffstats
path: root/code/client/cl_cgame.c
diff options
context:
space:
mode:
authoricculus <icculus@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-06-08 07:09:45 +0000
committericculus <icculus@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-06-08 07:09:45 +0000
commit00eb1434b11cf43a1decf218d08d5ea8c9280a08 (patch)
treeaac9736dfbf40baa043f17aa9f0ae9e4f9d2bb35 /code/client/cl_cgame.c
parentcb33a80a6843fdc76ef82ee86cf5c90c23060ff3 (diff)
downloadioquake3-aero-00eb1434b11cf43a1decf218d08d5ea8c9280a08.tar.gz
ioquake3-aero-00eb1434b11cf43a1decf218d08d5ea8c9280a08.zip
VoIP: Enable Automatic Gain Control.
git-svn-id: svn://svn.icculus.org/quake3/trunk@1378 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/client/cl_cgame.c')
-rw-r--r--code/client/cl_cgame.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/code/client/cl_cgame.c b/code/client/cl_cgame.c
index 18a9630..12c1171 100644
--- a/code/client/cl_cgame.c
+++ b/code/client/cl_cgame.c
@@ -937,6 +937,10 @@ void CL_FirstSnapshot( void ) {
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]);