mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-29 16:24:16 +00:00
engine: client: voice: frame size increased to 40 msec
This commit is contained in:
parent
238162bb79
commit
f7dc9d8e72
@ -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…
x
Reference in New Issue
Block a user