VoIP: client can now specify targets for voice transmission.

This commit is contained in:
Ryan C. Gordon 2008-06-04 21:49:15 +00:00
parent b9a9727689
commit cc18323a99
4 changed files with 21 additions and 1 deletions

View file

@ -928,6 +928,7 @@ void CL_FirstSnapshot( void ) {
speex_bits_reset(&clc.speexDecoderBits[i]);
clc.speexDecoder[i] = speex_decoder_init(&speex_nb_mode);
clc.voipIgnore[i] = qfalse;
clc.voipGain[i] = 1.0f;
}
speex_encoder_ctl(clc.speexEncoder, SPEEX_GET_FRAME_SIZE,
&clc.speexFrameSize);