aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoricculus <icculus@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-06-05 15:14:07 +0000
committericculus <icculus@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-06-05 15:14:07 +0000
commitea3ae9e586b8fb35e72587ff33ddd759c85954f1 (patch)
treef85c07d93786db545b8f2c177caa04e6c20ba849
parente2baf17ae348057ee5b96be1a9e224feca5f9238 (diff)
downloadioquake3-aero-ea3ae9e586b8fb35e72587ff33ddd759c85954f1.tar.gz
ioquake3-aero-ea3ae9e586b8fb35e72587ff33ddd759c85954f1.zip
VoIP: Fixed per-user gain output.
git-svn-id: svn://svn.icculus.org/quake3/trunk@1370 edf5b092-35ff-0310-97b2-ce42778d08ea
-rw-r--r--code/client/cl_parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/client/cl_parse.c b/code/client/cl_parse.c
index 9e6d5f9..e8d78dc 100644
--- a/code/client/cl_parse.c
+++ b/code/client/cl_parse.c
@@ -785,7 +785,7 @@ void CL_ParseVoip ( msg_t *msg ) {
if (written > 0) {
S_RawSamples(sender + 1, written, 8000, 2, 1,
- (const byte *) decoded, 1.0f); // !!! FIXME: hardcoding!
+ (const byte *) decoded, clc.voipGain[sender]); // !!! FIXME: hardcoding!
}
clc.voipIncomingSequence[sender] = sequence + frames;