Go to file
Ryan C. Gordon 865dd04068
pulseaudio: Don't use a hash for device change detection.
Both strings are _right there_ for comparing, so we can just set a flag to
note the device definitely changed.

Also simplified string management further; hotplug thread now makes a copy
of the string before releasing the lock if there was a change event, so when
the lock releases further events don't see a NULL and assume it's a new
device, causing a lot of work to ripple out and decide nothing has changed,
until the system stabilizes again. Now, it just does the right thing once.
2023-10-24 00:36:30 -04:00
.github cmake: optionally install pdb's 2023-10-12 02:26:48 +02:00
VisualC Fixed warning C4210: nonstandard extension used: function given file scope 2023-10-23 17:04:14 -07:00
VisualC-GDK Fixed warning C4210: nonstandard extension used: function given file scope 2023-10-23 17:04:14 -07:00
VisualC-WinRT Fixed warning C4210: nonstandard extension used: function given file scope 2023-10-23 17:04:14 -07:00
Xcode Fixed warning C4210: nonstandard extension used: function given file scope 2023-10-23 17:04:14 -07:00
android-project Accept key events from any source 2023-08-24 10:09:02 -07:00
build-scripts Added "--substring" to the help for rename_symbols.py 2023-10-23 09:14:54 -07:00
cmake cmake: test -Wl,--version-script with minimal version script 2023-10-12 14:00:47 +02:00
docs Renamed display added/removed events for consistency with the rest of the API 2023-10-23 09:14:54 -07:00
include Renamed display added/removed events for consistency with the rest of the API 2023-10-23 09:14:54 -07:00
mingw/pkg-support/cmake build: don't add SDL3 subfolder to include path for external projects 2022-11-27 14:33:13 -08:00
src pulseaudio: Don't use a hash for device change detection. 2023-10-24 00:36:30 -04:00
test testaudio: Removed debugging code. 2023-10-16 15:25:34 -04:00
wayland-protocols Add and event and flag to report when a window has been occluded 2023-07-18 16:42:05 -04:00
.clang-format Commented out syntax that causes Visual Studio 2019 to complain on every edit 2022-12-02 00:43:01 -08:00
.clang-tidy Fix size of memcpy in SDL_AudioDeviceFormatChangedAlreadyLocked 2023-08-05 14:14:45 -04:00
.editorconfig Fixed formatting for Haiku cc files 2023-01-25 03:03:41 -08:00
.gitignore Add VS code directory to gitignore 2023-07-25 23:36:14 -07:00
.wikiheaders-options sdlwiki: SDL3 advises users to include through 'SDL3/SDL.h' 2023-03-21 02:19:19 +01:00
Android.mk Always provide an implementation for all SDL3 symbols 2023-10-12 14:00:47 +02:00
BUGS.txt
CMakeLists.txt cmake: test -Wl,--version-script with minimal version script 2023-10-12 14:00:47 +02:00
CREDITS.txt Use Apple's nomenclature for macOS and iOS 2022-11-25 16:00:06 -08:00
INSTALL.txt Use Apple's nomenclature for macOS and iOS 2022-11-25 16:00:06 -08:00
LICENSE.txt Updated copyright for 2023 2023-01-09 09:41:41 -08:00
README-SDL.txt
README.md Fixed typo 2023-08-31 09:32:39 -07:00
TODO.txt
WhatsNew.txt Removed patch note for change already in SDL 2.x 2023-07-08 09:35:42 -07:00

README.md

Simple DirectMedia Layer (SDL) Version 3.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. If you are migrating to SDL 3.0 from SDL 2.0, the changes are extensively documented in README-migration.md.

Enjoy!

Sam Lantinga (slouken@libsdl.org)