diff options
author | icculus <icculus@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2008-06-04 21:50:00 +0000 |
---|---|---|
committer | icculus <icculus@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2008-06-04 21:50:00 +0000 |
commit | 41fd71487ee41196b9fbe3e701a6c5414f20a8a3 (patch) | |
tree | b27c897b249457699e936306946dac5e16e4ad58 /code/client/client.h | |
parent | b949e776ca74e15d78e597fbcb86630cc6c257f7 (diff) | |
download | ioquake3-aero-41fd71487ee41196b9fbe3e701a6c5414f20a8a3.tar.gz ioquake3-aero-41fd71487ee41196b9fbe3e701a6c5414f20a8a3.zip |
VoIP: functionality to adjust incoming audio gain, per-user.
git-svn-id: svn://svn.icculus.org/quake3/trunk@1366 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/client/client.h')
-rw-r--r-- | code/client/client.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/code/client/client.h b/code/client/client.h index fb15f45..152d0b9 100644 --- a/code/client/client.h +++ b/code/client/client.h @@ -244,6 +244,9 @@ typedef struct { qboolean voipMuteAll; // outgoing data... + int voipTarget1; // these three ints make up a bit mask of 92 bits. + int voipTarget2; // the bits say who a VoIP pack is addressed to: + int voipTarget3; // (1 << clientnum). See cl_voipSendTarget cvar. SpeexBits speexEncoderBits; void *speexEncoder; int voipOutgoingDataSize; @@ -402,7 +405,11 @@ extern cvar_t *cl_mumbleScale; #endif #if USE_VOIP +// cl_voipSendTarget is a string: "all" to broadcast to everyone, "none" to +// send to no one, or a comma-separated list of client numbers: +// "0,7,2,23" ... an empty string is treated like "all". extern cvar_t *cl_voipSend; +extern cvar_t *cl_voipSendTarget; extern cvar_t *cl_voipGainDuringCapture; extern cvar_t *voip; #endif |