r1370 - trunk/code/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu Jun 5 11:14:18 EDT 2008


Author: icculus
Date: 2008-06-05 11:14:07 -0400 (Thu, 05 Jun 2008)
New Revision: 1370

Modified:
   trunk/code/client/cl_parse.c
Log:
VoIP: Fixed per-user gain output.


Modified: trunk/code/client/cl_parse.c
===================================================================
--- trunk/code/client/cl_parse.c	2008-06-05 08:55:08 UTC (rev 1369)
+++ trunk/code/client/cl_parse.c	2008-06-05 15:14:07 UTC (rev 1370)
@@ -785,7 +785,7 @@
 
 	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;




More information about the quake3-commits mailing list