mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-11-10 06:31:47 +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_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]);
|
||||
|
|
Loading…
Reference in a new issue