Browse Source

engine: update voice

pull/2/head
Velaron 4 years ago committed by Alibek Omarov
parent
commit
9242a0a510
  1. 1
      engine/client/cl_main.c
  2. 3
      engine/client/cl_view.c
  3. 2
      engine/client/voice.h

1
engine/client/cl_main.c

@ -22,6 +22,7 @@ GNU General Public License for more details. @@ -22,6 +22,7 @@ GNU General Public License for more details.
#include "vgui_draw.h"
#include "library.h"
#include "vid_common.h"
#include "voice.h"
#define MAX_TOTAL_CMDS 32
#define MAX_CMD_BUFFER 8000

3
engine/client/cl_view.c

@ -286,9 +286,6 @@ qboolean V_PreRender( void ) @@ -286,9 +286,6 @@ qboolean V_PreRender( void )
if( !ref.initialized )
return false;
if( host.status == HOST_NOFOCUS )
return false;
if( host.status == HOST_SLEEP )
return false;

2
engine/client/voice.h

@ -9,8 +9,6 @@ @@ -9,8 +9,6 @@
#include "soundlib/soundlib.h"
#include "library.h"
#define SAMPLES_PER_SEC ( SOUND_48k / BYTES_PER_SAMPLE )
extern convar_t voice_scale;
typedef struct voice_state_s

Loading…
Cancel
Save