mirror of
https://github.com/ioquake/ioq3.git
synced 2025-05-30 16:41:31 +00:00
* Rename voip cvar to cl_voip
* s/#if USE_VOIP/#ifdef USE_VOIP/ * Add generalised runtime cvar range checking, currently on [sv|cl]_voip, dedicated and a bunch of r_ variables
This commit is contained in:
parent
809c361744
commit
37d664d4b2
24 changed files with 239 additions and 110 deletions
|
@ -62,7 +62,7 @@ static qboolean S_ValidSoundInterface( soundInterface_t *si )
|
|||
if( !si->SoundInfo ) return qfalse;
|
||||
if( !si->SoundList ) return qfalse;
|
||||
|
||||
#if USE_VOIP
|
||||
#ifdef USE_VOIP
|
||||
if( !si->StartCapture ) return qfalse;
|
||||
if( !si->AvailableCaptureSamples ) return qfalse;
|
||||
if( !si->Capture ) return qfalse;
|
||||
|
@ -313,7 +313,7 @@ void S_SoundList( void )
|
|||
}
|
||||
|
||||
|
||||
#if USE_VOIP
|
||||
#ifdef USE_VOIP
|
||||
/*
|
||||
=================
|
||||
S_StartCapture
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue