mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-05 22:09:59 +03:00
fix opus
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user