Android: Empty audio buffers when returning from activity

This commit is contained in:
Connor McLaughlin committed 2020-11-08 00:22:35 +10:00
1 parent f68ad7d0c3
commit 8cb89636eb
2 files changed
+5 -2

No files matched your search

@@ -164,7 +164,10 @@ void CommonHostInterface::PauseSystem(bool paused)
return;
System::SetState(paused ? System::State::Paused : System::State::Running);
if (!paused)
m_audio_stream->EmptyBuffers();
m_audio_stream->PauseOutput(paused);
OnSystemPaused(paused);
UpdateSpeedLimiterState();