2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-25 11:19:59 +01:00

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

This commit is contained in:
SNMetamorph 2022-08-18 11:07:43 +04:00 committed by Alibek Omarov
parent 238162bb79
commit f7dc9d8e72

View File

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