Simple DirectMedia Layer https://libsdl.org
Find a file
bubbleguuum f1f4d0d229 Fix opening pipewire device blocking indefinitely if no device
If wireplumber is not running or if there is no audio device,
PIPEWIRE_OpenDevice could remain stuck indefinityely on PIPEWIRE_pw_thread_loop_wait
because priv->stream_init_status is never equal to PW_READY_FLAG_ALL_PREOPEN_BITS.
Use PIPEWIRE_pw_thread_loop_timed_wait instead with a 2 seconds timeout and bail
out with an error on timeout.
A 2 seconds timeout seems plenty enough: in my observations, when there is an audio device,
the wait for the device to be ready is just a few milliseconds.
2026-06-25 09:41:15 -04:00
.github cmake: add SDL_LEAN_AND_MEAN CMake option 2026-06-17 06:50:35 -07:00
android-project Add more information for pinch gestures on mobile (#15092) 2026-06-21 20:30:50 -07:00
build-scripts wikiheaders: Fix links in manpage generation. 2026-06-18 13:46:13 -04:00
cmake cmake: add SDL_LIBUDEV_SHARED option 2026-06-18 03:47:07 -07:00
docs Add basic Ubuntu Touch functions #12543 2026-06-21 11:51:15 -07:00
examples examples/input/03-gamepad-polling: Render axes in blue. 2026-06-19 14:35:10 -04:00
include Sync SDL3 wiki -> header 2026-06-24 19:48:34 +00:00
src Fix opening pipewire device blocking indefinitely if no device 2026-06-25 09:41:15 -04:00
test Added SDL_PIXELFORMAT_P408 and SDL_PIXELFORMAT_P416 2026-06-22 17:01:54 -05:00
VisualC examples: Add an example for SDL_Storage user data 2026-06-18 20:44:15 -04:00
VisualC-GDK Use the Microsoft provided GameInputCreate() function (#15797) 2026-06-10 12:57:43 -07:00
wayland-protocols revert parts of CodeSpell commit d870911202 from 3rd party sources 2026-05-13 18:00:02 +03:00
Xcode Fix Xcode project not building due to missing header 2026-06-24 10:28:07 -07:00
.clang-format Add CHECK_PARAM as a conditional macro in clang-format 2026-04-03 11:47:41 -04:00
.clang-tidy Fix size of memcpy in SDL_AudioDeviceFormatChangedAlreadyLocked 2023-08-05 14:14:45 -04:00
.editorconfig .editorconfig: Remove excess apostrophe at *.cocci 2024-06-16 09:18:17 -07:00
.gitignore Updated .gitignore for png test data 2025-10-10 08:59:27 -07:00
.wikiheaders-options .wikiheaders-options: Fix Notification category. 2026-06-22 22:17:12 -04:00
AGENTS.md AGENTS.md: Change "may not" to "must not". 2026-04-15 17:26:54 -04:00
Android.mk Add notification framework with test and dummy driver 2026-06-10 13:25:38 -04:00
BUGS.txt Added a Discord link to BUGS.txt 2025-01-13 16:42:50 -08:00
CLAUDE.md CLAUDE.md: Just copy the text from AGENTS.md in here for now. 2026-04-16 13:51:49 -04:00
CMakeLists.txt Add basic Ubuntu Touch functions #12543 2026-06-21 11:51:15 -07:00
CREDITS.md Updated the credits for SDL 3.0 2025-01-13 16:42:50 -08:00
INSTALL.md Add a link to docs/INTRO-mingw.md 2025-03-06 16:25:17 -08:00
LICENSE.txt Updated copyright for 2026 2026-01-01 09:40:08 -08:00
README.md Revert "Update README.md" 2025-11-16 01:15:10 +03:00
WhatsNew.txt Added SDL_HINT_MOUSE_DPI_SCALE_CURSORS 2025-12-09 17:12:08 -08:00

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)