HostInterface: Fix hang when switching audio backends

This commit is contained in:
Connor McLaughlin 2020-05-04 03:04:00 +10:00
parent 257c86930f
commit 0f5bc7267f
1 changed files with 2 additions and 0 deletions

View File

@ -1065,6 +1065,8 @@ void HostInterface::UpdateSettings(SettingsInterface& si)
DebugAssert(m_audio_stream);
m_audio_stream.reset();
CreateAudioStream();
m_audio_stream->PauseOutput(m_paused);
UpdateSpeedLimiterState();
}
if (m_settings.video_sync_enabled != old_vsync_enabled || m_settings.audio_sync_enabled != old_audio_sync_enabled ||