mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-04-29 07:15:42 -04:00
HostInterface: Fix hang when switching audio backends
This commit is contained in:
parent
257c86930f
commit
0f5bc7267f
@ -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 ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user