From b0ff51d5a01dcbe255984716b2af37e210823506 Mon Sep 17 00:00:00 2001 From: SNMetamorph <25657591+SNMetamorph@users.noreply.github.com> Date: Tue, 16 Aug 2022 19:29:31 +0400 Subject: [PATCH] engine: client: voice: changed bitrate units to kbps in voice_codecinfo --- engine/client/voice.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/client/voice.c b/engine/client/voice.c index cbeba818..0147eab4 100644 --- a/engine/client/voice.c +++ b/engine/client/voice.c @@ -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 ));