diff options
author | icculus <icculus@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2008-06-08 07:09:45 +0000 |
---|---|---|
committer | icculus <icculus@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2008-06-08 07:09:45 +0000 |
commit | 00eb1434b11cf43a1decf218d08d5ea8c9280a08 (patch) | |
tree | aac9736dfbf40baa043f17aa9f0ae9e4f9d2bb35 | |
parent | cb33a80a6843fdc76ef82ee86cf5c90c23060ff3 (diff) | |
download | ioquake3-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
-rw-r--r-- | code/client/cl_cgame.c | 4 |
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]); |