Android: Empty audio buffers when returning from activity
This commit is contained in:
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();
|
||||
|
||||
|
||||
Reference in new issue
Block a user