Browse Source

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

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

2
engine/client/voice.c

@ -52,7 +52,7 @@ static void Voice_CodecInfo_f( void )
opus_encoder_ctl( voice.encoder, OPUS_GET_BANDWIDTH( &encoderBandwidthType )); opus_encoder_ctl( voice.encoder, OPUS_GET_BANDWIDTH( &encoderBandwidthType ));
Con_Printf( "Encoder:\n" ); 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( " Complexity: %d\n", encoderComplexity );
Con_Printf( " Bandwidth: " ); Con_Printf( " Bandwidth: " );
Con_Printf( Voice_GetBandwidthTypeName( encoderBandwidthType )); Con_Printf( Voice_GetBandwidthTypeName( encoderBandwidthType ));

Loading…
Cancel
Save