Simple DirectMedia Layer https://libsdl.org
Find a file
Ryan C. Gordon afc1d9122b
pipewire: Report correct device default formats instead of hardcoding Float32.
The comment in the source wasn't true; PipeWire doesn't _have_ to work in
float format. It presumably does if it has to mix, but if a game is the only
thing making noise on the system--a common scenario--then it might be able to
pass, say, Sint16 data straight through to the hardware without conversion.

Fixes #12129.

(cherry picked from commit 943c4abcb4)
2025-07-29 18:21:01 -04:00
.github ci+n3ds: avoid apt-get package manager 2025-07-27 23:50:02 +03:00
acinclude autotools, libtool, win32: add 'aarch64' support to the file magic test. 2024-09-17 14:10:02 +03:00
android-project Updated to version 2.33.0 for development 2025-02-08 09:15:11 -08:00
android-project-ant
build-scripts Updated copyright for 2025 2025-01-01 07:47:53 -08:00
cmake The posix4 library has been merged into the libc library 2025-03-20 09:47:20 +03:00
docs README-touch.md: fix header separators 2025-06-06 08:28:10 -07:00
include include: Added some basic documentation so SDL_KeyCode shows up on the wiki. 2025-07-14 00:33:32 -04:00
mingw/pkg-support fix: in sdl2.pc libdir was changed to prefix 2025-02-05 07:49:11 -08:00
src pipewire: Report correct device default formats instead of hardcoding Float32. 2025-07-29 18:21:01 -04:00
test Skip the Jack audio server test 2025-03-30 21:31:38 -07:00
VisualC vc: bump CMake compatibility version of sdl2-config.cmake 2024-12-05 04:30:34 +01:00
VisualC-GDK Updated copyright for 2025 2025-01-01 07:47:53 -08:00
VisualC-WinRT SDL2: Update from Visual Studio 2019 to Visual Studio 2022 2025-04-22 20:59:26 -07:00
visualtest Remove unneeded semicolon 2022-11-17 10:43:45 +01:00
wayland-protocols wayland: Apply toplevel bounds to windows 2025-01-06 17:13:16 -05:00
Xcode Updated to version 2.33.0 for development 2025-02-08 09:15:11 -08:00
Xcode-iOS/Demos Xcode-iOS/Demos/src/fireworks.c: Make rendering CPU efficient 2025-07-12 07:35:08 -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 build-script from SDL3 2024-11-02 01:58:46 +01:00
.wikiheaders-options Move comment in .wikiheaders-options to own line 2025-06-02 07:21:42 -04:00
Android.mk Sort joystick drivers in Android.mk 2024-06-05 12:09:45 -07:00
autogen.sh
BUGS.txt
cmake_uninstall.cmake.in
CMakeLists.txt autotools, cmake: fix the sys/audioio.h checks. 2025-07-28 12:40:30 +03:00
configure autotools, cmake: fix the sys/audioio.h checks. 2025-07-28 12:40:30 +03:00
configure.ac autotools, cmake: fix the sys/audioio.h checks. 2025-07-28 12:40:30 +03:00
CREDITS.txt
INSTALL.txt
LICENSE.txt Updated copyright for 2025 2025-01-01 07:47:53 -08:00
Makefile.in Makefile.in: add VisualC-GDK to SRC_DIST 2024-05-28 14:10:24 +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.33.0 for development 2025-02-08 09:15:11 -08:00
Makefile.pandora
Makefile.w32 Updated to version 2.33.0 for development 2025-02-08 09:15:11 -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: use genexes for linking against apple frameworks 2024-07-27 17:13:52 +02:00
sdl2-config.in sdl2-config.in: use backtics instead of $() for older shells 2024-07-14 19:36:46 +02:00
sdl2.m4 Typo fix 2024-09-14 21:13:56 -07: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:25 -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)