mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2025-01-31 04:50:42 +00:00
VoIP: Enable Automatic Gain Control.
This commit is contained in:
parent
d4ee08b985
commit
fd239c58a8
1 changed files with 4 additions and 0 deletions
|
@ -937,6 +937,10 @@ void CL_FirstSnapshot( void ) {
|
||||||
speex_preprocess_ctl(clc.speexPreprocessor,
|
speex_preprocess_ctl(clc.speexPreprocessor,
|
||||||
SPEEX_PREPROCESS_SET_DENOISE, &i);
|
SPEEX_PREPROCESS_SET_DENOISE, &i);
|
||||||
|
|
||||||
|
i = 1;
|
||||||
|
speex_preprocess_ctl(clc.speexPreprocessor,
|
||||||
|
SPEEX_PREPROCESS_SET_AGC, &i);
|
||||||
|
|
||||||
for (i = 0; i < MAX_CLIENTS; i++) {
|
for (i = 0; i < MAX_CLIENTS; i++) {
|
||||||
speex_bits_init(&clc.speexDecoderBits[i]);
|
speex_bits_init(&clc.speexDecoderBits[i]);
|
||||||
speex_bits_reset(&clc.speexDecoderBits[i]);
|
speex_bits_reset(&clc.speexDecoderBits[i]);
|
||||||
|
|
Loading…
Reference in a new issue