This commit is contained in:
HappyDOGE
2022-07-28 18:32:42 +03:00
parent 0aa1fe0b8d
commit de84690884
4 changed files with 11 additions and 2 deletions

View File

@@ -671,7 +671,7 @@ bool Voice_Init( const char *pCodecName, int nSampleRate )
//
// Changing the quality level we use here will require either extending SVC_VoiceInit to pass down which quality is
// in use or using a different codec name (vaudio_celtHD!) for backwards compatibility
int quality = bCelt ? 3 : 4;
int quality = ( bCelt || bOpus ) ? 3 : 4;
// Get the codec.
CreateInterfaceFn createCodecFn = NULL;