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

View file

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