Simple DirectMedia Layer https://libsdl.org
Find a file
Ryan C. Gordon f71979dcb3 coreaudio: Workaround for crash when disconnecting a bluetooth audio device.
Our understanding of what's going on here might be incorrect, but it seems
like we're getting this callback at a point where we shouldn't be able to,
with a device we've already closed.

If we're on the wrong track, this code should still be harmless; it just
verifies a device is still in the open list before dereferencing it.

Reference Issue #10432.

(cherry picked from commit 20574c016a)
2025-01-14 12:08:58 -08:00
.github ci: add setup-gdk-desktop action 2024-11-23 23:30:38 +01:00
acinclude autotools: a few libtool updates from mainstream 2024-01-28 21:50:42 +03:00
android-project Updated to version 2.30.11 for release 2025-01-01 09:09:38 -08:00
android-project-ant
build-scripts Updated copyright for 2025 2025-01-01 07:48:45 -08:00
cmake Port SDL3 release scripts to SDL2 2024-10-01 21:22:06 +02:00
docs README-macos: Typo fixes. 2024-07-16 08:32:29 -04:00
include Updated to version 2.30.11 for release 2025-01-01 09:09:38 -08:00
mingw/pkg-support port build-script from SDL3 2024-11-02 02:19:50 +01:00
src coreaudio: Workaround for crash when disconnecting a bluetooth audio device. 2025-01-14 12:08:58 -08:00
test Updated copyright for 2025 2025-01-01 07:48:45 -08:00
VisualC vc: bump CMake compatibility version of sdl2-config.cmake 2024-12-05 04:30:54 +01:00
VisualC-GDK Updated copyright for 2025 2025-01-01 07:48:45 -08:00
VisualC-WinRT video: move standard c, sse and lsx implementations of yuv2rgb to its own source 2024-01-18 17:06:27 -08:00
visualtest Remove unneeded semicolon 2022-11-17 10:43:45 +01:00
wayland-protocols Support wayland fractional scale protocol 2022-11-29 16:37:02 -05:00
Xcode Updated to version 2.30.11 for release 2025-01-01 09:09:38 -08:00
Xcode-iOS/Demos Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" 2024-07-17 14:48:06 -07:00
.clang-format Commented out syntax that causes Visual Studio 2019 to complain on every edit 2022-12-02 00:43:46 -08:00
.editorconfig editorconfig: remove trailing whitespace in source code 2022-12-26 10:34:45 -08:00
.gitignore Port SDL3 release scripts to SDL2 2024-10-01 21:22:06 +02:00
.wikiheaders-options wikiheaders: Bridge README files in the docs directory to wiki. 2023-02-28 11:46:46 -05:00
Android.mk Fixed building with the 16.1.4479499 Android toolchain 2023-06-03 23:55:56 -07:00
autogen.sh Simplified autogen.sh, thanks to @smcv for the tip 2022-05-05 11:54:24 -07:00
BUGS.txt
cmake_uninstall.cmake.in
CMakeLists.txt Updated to version 2.30.11 for release 2025-01-01 09:09:38 -08:00
configure Updated to version 2.30.11 for release 2025-01-01 09:09:38 -08:00
configure.ac Updated to version 2.30.11 for release 2025-01-01 09:09:38 -08:00
CREDITS.txt
INSTALL.txt INSTALL.txt: Say "macOS" instead of "Mac OS X" in modern times. 2022-03-15 13:07:55 -04:00
LICENSE.txt Updated copyright for 2025 2025-01-01 07:48:45 -08:00
Makefile.in Makefile.in: add VisualC-GDK to SRC_DIST 2024-05-28 14:10:28 +03:00
Makefile.minimal Split up CFLAGS construction so it can be overridden 2023-03-29 07:26:34 -07:00
Makefile.os2 Updated to version 2.30.11 for release 2025-01-01 09:09:38 -08:00
Makefile.pandora more fixes to standalone makefiles. 2021-11-13 21:56:20 +03:00
Makefile.w32 Updated to version 2.30.11 for release 2025-01-01 09:09:38 -08:00
README-SDL.txt
README.md
sdl2-config-version.cmake.in Add documentation to autotoo'ls sdl2-config-version.cmake.in 2022-05-31 00:10:55 +02:00
sdl2-config.cmake.in cmake: allow users of sdl2-config.cmake to not add -mwindows to the link options 2023-04-18 14:10:12 -04:00
sdl2-config.in Revert "sdl2-config.in: Deprecate sdl2-config" 2022-11-18 06:53:13 -08:00
sdl2.m4 sdl2.m4: Call $PKG_CONFIG rather than hard-coding pkg-config 2024-01-01 08:27:02 -08:00
sdl2.pc.in cmake: use FindALSA.cmake to find ALSA library 2022-12-11 23:23:45 +01:00
SDL2.spec.in
SDL2Config.cmake.in cmake: use FindALSA.cmake to find ALSA library 2022-12-11 23:23:45 +01:00
TODO.txt
WhatsNew.txt Added the environment variable SDL_LOGGING to control default log output 2024-01-27 19:46:59 -08:00

Simple DirectMedia Layer (SDL) Version 2.0

https://www.libsdl.org/

Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D. It is used by video playback software, emulators, and popular games including Valve's award winning catalog and many Humble Bundle games.

More extensive documentation is available in the docs directory, starting with README.md

Enjoy!

Sam Lantinga (slouken@libsdl.org)