mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
Properly pause all audio processing in Android when minimized.
This uses ALC_SOFT_pause_device extension which is available since OpenAL-soft 1.16. We guarantee almost 100% availability of this extension since we've been using OpenAL-soft in Android since beginning. Fixes #1828
This commit is contained in:
@@ -78,10 +78,6 @@ private:
|
||||
static std::map<SDL_Keycode, love::keyboard::Keyboard::Key> createKeyMap();
|
||||
static std::map<SDL_Keycode, love::keyboard::Keyboard::Key> keys;
|
||||
|
||||
#ifdef LOVE_ANDROID
|
||||
std::vector<love::audio::Source*> pausedSources;
|
||||
#endif
|
||||
|
||||
}; // Event
|
||||
|
||||
} // sdl
|
||||
|
||||
Reference in New Issue
Block a user