mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-07-09 10:49:41 +00:00
774728b6fffd964a79ae7cc179372736a76a633f
If a device has disconnected, and the app has quit the audio subsystem before the queued main thread function has run, the pointer will be bogus by the time the run occurs. So now it looks up the object from its device ID, and if the lookup returns NULL, it returns immediately and everything works out. Reference Issue #14856. (which might be fixed by this or not.)
Simple DirectMedia Layer (SDL for short) is a cross-platform library designed to make it easy to write multi-media software, such as games and emulators.
You can find the latest release and additional information at: https://www.libsdl.org/
Installation instructions and a quick introduction is available in INSTALL.md
This library is distributed under the terms of the zlib license, available in LICENSE.txt.
Enjoy!
Sam Lantinga (slouken@libsdl.org)
Languages
C
87.9%
C++
4%
Objective-C
3.4%
CMake
1.7%
Java
0.8%
Other
1.9%