mirror of
https://github.com/ioquake/ioq3.git
synced 2025-05-30 08:31:14 +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
|
@ -35,6 +35,7 @@ cvar_t *cl_mumbleScale;
|
|||
|
||||
#if USE_VOIP
|
||||
cvar_t *cl_voipSend;
|
||||
cvar_t *cl_voipSendTarget;
|
||||
cvar_t *cl_voipGainDuringCapture;
|
||||
cvar_t *voip;
|
||||
#endif
|
||||
|
@ -3052,6 +3053,7 @@ void CL_Init( void ) {
|
|||
|
||||
#if USE_VOIP
|
||||
cl_voipSend = Cvar_Get ("cl_voipSend", "0", 0);
|
||||
cl_voipSendTarget = Cvar_Get ("cl_voipSendTarget", "all", 0);
|
||||
cl_voipGainDuringCapture = Cvar_Get ("cl_voipGainDuringCapture", "0.2", CVAR_ARCHIVE);
|
||||
voip = Cvar_Get ("voip", "1", CVAR_USERINFO | CVAR_ARCHIVE | CVAR_LATCH);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue