Qt: Fix audio volume/mute being lost when restarting emulation
This commit is contained in:
@ -79,5 +79,5 @@ void AudioSettingsWidget::onOutputMutedChanged(int new_state)
|
||||
{
|
||||
const bool muted = (new_state != 0);
|
||||
m_host_interface->SetBoolSettingValue("Audio", "OutputMuted", muted);
|
||||
m_host_interface->setAudioOutputVolume(muted ? 0 : m_ui.volume->value());
|
||||
m_host_interface->setAudioOutputMuted(muted);
|
||||
}
|
||||
Reference in New Issue
Block a user