Browse Source

fix opus error msg log

pull/85/head
HappyDOGE 2 years ago
parent
commit
9a095d6b4b
  1. 2
      engine/voice_codecs/opus/voiceencoder_opus.cpp

2
engine/voice_codecs/opus/voiceencoder_opus.cpp

@ -98,7 +98,7 @@ bool VoiceEncoder_Opus::Init( int quality, int &rawFrameSize, int &encodedFrameS @@ -98,7 +98,7 @@ bool VoiceEncoder_Opus::Init( int quality, int &rawFrameSize, int &encodedFrameS
m_Mode = opus_custom_mode_create( g_OpusOpts[m_iVersion].iSampleRate, g_OpusOpts[m_iVersion].iRawFrameSize, &iError );
if ( iError != 0 ) {
Msg( "Opus init failed with error %d", iError );
Msg( "Opus init failed with error %d\n", iError );
return false;
}

Loading…
Cancel
Save