SL-15999 (SL-16055) Turn off voice in non-interactive mode

meow-7.2.2
Callum Linden 2021-09-24 11:46:19 -07:00
parent a0157baf08
commit dc48e174c4
1 changed files with 3 additions and 1 deletions

View File

@ -5358,7 +5358,9 @@ void LLVivoxVoiceClient::setVoiceEnabled(bool enabled)
bool LLVivoxVoiceClient::voiceEnabled()
{
return gSavedSettings.getBOOL("EnableVoiceChat") && !gSavedSettings.getBOOL("CmdLineDisableVoice");
return gSavedSettings.getBOOL("EnableVoiceChat") &&
!gSavedSettings.getBOOL("CmdLineDisableVoice") &&
!gNonInteractive;
}
void LLVivoxVoiceClient::setLipSyncEnabled(BOOL enabled)