aboutsummaryrefslogtreecommitdiffstats
path: root/code/client/cl_cgame.c
diff options
context:
space:
mode:
authoricculus <icculus@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-06-04 21:49:15 +0000
committericculus <icculus@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-06-04 21:49:15 +0000
commitb949e776ca74e15d78e597fbcb86630cc6c257f7 (patch)
tree0dd0824f49fdd8de2841b8b3b887a0a483899e8c /code/client/cl_cgame.c
parent2bb47821784c5ac3dc33c45624d591c7bf90deb0 (diff)
downloadioquake3-aero-b949e776ca74e15d78e597fbcb86630cc6c257f7.tar.gz
ioquake3-aero-b949e776ca74e15d78e597fbcb86630cc6c257f7.zip
VoIP: client can now specify targets for voice transmission.
git-svn-id: svn://svn.icculus.org/quake3/trunk@1365 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/client/cl_cgame.c')
-rw-r--r--code/client/cl_cgame.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/code/client/cl_cgame.c b/code/client/cl_cgame.c
index 7ea1b1d..56d824f 100644
--- a/code/client/cl_cgame.c
+++ b/code/client/cl_cgame.c
@@ -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);