Qt: Fix mute toggle having inverse effect

This commit is contained in:
Connor McLaughlin 2020-12-12 11:49:50 +10:00
parent 58b24d6ac9
commit f4d540bcc6
1 changed files with 2 additions and 2 deletions

View File

@ -1185,10 +1185,10 @@ void QtHostInterface::setAudioOutputMuted(bool muted)
return; return;
} }
g_settings.audio_output_muted = muted;
if (m_audio_stream) if (m_audio_stream)
m_audio_stream->SetOutputVolume(GetAudioOutputVolume()); m_audio_stream->SetOutputVolume(GetAudioOutputVolume());
g_settings.audio_output_muted = muted;
} }
void QtHostInterface::startDumpingAudio() void QtHostInterface::startDumpingAudio()