engine: client: voice: changed bitrate units to kbps in voice_codecinfo

This commit is contained in:
SNMetamorph 2022-08-16 19:29:31 +04:00 committed by Alibek Omarov
parent 68f633e9cd
commit b0ff51d5a0

View File

@ -52,7 +52,7 @@ static void Voice_CodecInfo_f( void )
opus_encoder_ctl( voice.encoder, OPUS_GET_BANDWIDTH( &encoderBandwidthType ));
Con_Printf( "Encoder:\n" );
Con_Printf( " Bitrate: %.3f kB/second\n", encoderBitrate / 8.0f / 1024.0f );
Con_Printf( " Bitrate: %.3f kbps\n", encoderBitrate / 1000.0f );
Con_Printf( " Complexity: %d\n", encoderComplexity );
Con_Printf( " Bandwidth: " );
Con_Printf( Voice_GetBandwidthTypeName( encoderBandwidthType ));