mirror of
https://github.com/ioquake/ioq3.git
synced 2025-05-30 16:41:31 +00:00
VoIP: functionality to adjust incoming audio gain, per-user.
This commit is contained in:
parent
cc18323a99
commit
020704d2ff
4 changed files with 41 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue