mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-10 18:15:46 -04:00
Android: Empty audio buffers when returning from activity
This commit is contained in:
@ -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