Go to file
Sam Lantinga be341bc078 Make sure we put more than RESAMPLER_MAX_PADDING_FRAMES into an audio stream
It's not an error if we don't, but we'll get 0 bytes out of the stream if we don't flush, which the audio_resampleLoss test treats as a failure.

Fixes https://github.com/libsdl-org/SDL/issues/10613
2024-09-01 14:05:27 -07:00
.github Document the SDL-specific custom ci commands 2024-08-31 13:16:51 +02:00
VisualC Add the SDL_GPU API 2024-08-29 15:57:29 -07:00
VisualC-GDK Add the SDL_GPU API 2024-08-29 15:57:29 -07:00
VisualC-WinRT Add the SDL_GPU API 2024-08-29 15:57:29 -07:00
Xcode Add GPU files to xcodeproj 2024-08-31 12:32:38 +02:00
android-project Use SDL_bool instead an int return code in the SDL API 2024-08-27 10:31:46 -07:00
build-scripts Renamed SDL_Del* to SDL_Remove* 2024-08-31 07:46:28 -07:00
cmake Use stdbool for SDL_bool 2024-08-27 10:31:46 -07:00
docs Renamed SDL_Del* to SDL_Remove* 2024-08-31 07:46:28 -07:00
examples examples/game/01-snake: Remove RNG abstraction. 2024-08-30 17:13:51 -04:00
include Removed trailing commas in enums 2024-09-01 06:23:20 -07:00
src GPU: Pass the new window size when resizing the swapchain for d3d12 (#10665) 2024-09-01 08:48:29 -07:00
test Make sure we put more than RESAMPLER_MAX_PADDING_FRAMES into an audio stream 2024-09-01 14:05:27 -07:00
wayland-protocols wayland: Add support for setting window icons via the xdg-toplevel-icon-v1 protocol 2024-08-31 09:38:43 -04:00
.clang-format Add 'wl_list_for_each_safe' to the clang-format macro list 2024-03-14 10:22:23 -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 Add the SDL_GPU API 2024-08-29 15:57:29 -07:00
.wikiheaders-options wikiheaders: bridge wiki Category docs to the headers! 2024-05-16 11:48:23 -04:00
Android.mk Add the SDL_GPU API 2024-08-29 15:57:29 -07:00
BUGS.txt Cleaned up a few more Bugzilla mentions. 2021-02-12 14:46:49 -05:00
CMakeLists.txt cmake: fix SDL_RENDER_GPU report at end of configuration 2024-08-30 13:35:13 +02:00
CREDITS.md docs: Moved CREDITS and INSTALL to markdown format. 2023-11-29 12:31:27 -05:00
INSTALL.md Updated INSTALL.md 2024-04-10 09:18:42 -04:00
LICENSE.txt Updated copyright for 2024 2024-01-01 13:15:26 -08:00
README-SDL.txt More HTTPS changes in the documentation. 2017-02-16 16:52:03 -05:00
README.md Tweaking documentation for the SDL 3.0 preview release 2024-03-24 06:16:02 -07:00
WhatsNew.txt audio: Refer to audio devices to "playback" and "recording". 2024-06-15 01:08:12 -04: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. 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)