Browse Source

engine: client: voice: frame size increased to 40 msec

pull/2/head
SNMetamorph 2 years ago committed by Alibek Omarov
parent
commit
f7dc9d8e72
  1. 2
      engine/client/voice.c

2
engine/client/voice.c

@ -135,7 +135,7 @@ qboolean Voice_Init( const char *pszCodecName, int quality )
voice.channels = 1; voice.channels = 1;
voice.width = 2; voice.width = 2;
voice.samplerate = SOUND_48k; voice.samplerate = SOUND_48k;
voice.frame_size = Voice_GetFrameSize( 20.0f ); voice.frame_size = Voice_GetFrameSize( 40.0f );
voice.autogain.block_size = 128; voice.autogain.block_size = 128;
if ( !VoiceCapture_Init() ) if ( !VoiceCapture_Init() )

Loading…
Cancel
Save