HostInterface: Fix hang when switching audio backends
This commit is contained in:
1 parent
257c86930f
commit
0f5bc7267f
1 file changed
+2
@@ -1065,6 +1065,8 @@ void HostInterface::UpdateSettings(SettingsInterface& si)
|
|||||||
DebugAssert(m_audio_stream);
|
DebugAssert(m_audio_stream);
|
||||||
m_audio_stream.reset();
|
m_audio_stream.reset();
|
||||||
CreateAudioStream();
|
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 ||
|
if (m_settings.video_sync_enabled != old_vsync_enabled || m_settings.audio_sync_enabled != old_audio_sync_enabled ||
|
||||||
|
|||||||
Reference in new issue
Block a user