Sam Lantinga a66cad79c1 SDL_GetClosestFullscreenDisplayMode() now takes a boolean whether to include high density modes hace 1 año
..
emscripten fe40a17224 Initial merge of Emscripten port! hace 10 años
n3ds 655275378d N3DS port (squashed) hace 2 años
shapes 3dcb451f85 Added a README file regarding WinRT support hace 11 años
CMakeLists.txt e474047ff8 rwlock: Added SDL_rwlock API for shared locks. hace 2 años
COPYING 3dcb451f85 Added a README file regarding WinRT support hace 11 años
README 1d956c2817 Rename SDL2 tests for SDL3 hace 2 años
axis.bmp 6d7da0887d Split controller axes into positive and negative sides so each can be bound independently. hace 8 años
button.bmp 3dcb451f85 Added a README file regarding WinRT support hace 11 años
checkkeys.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. hace 2 años
checkkeysthreads.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. hace 2 años
gamepadmap.bmp 659abc721a SDL API renaming: SDL_gamecontroller.h hace 2 años
gamepadmap.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState hace 2 años
gamepadmap_back.bmp 659abc721a SDL API renaming: SDL_gamecontroller.h hace 2 años
icon.bmp 3dcb451f85 Added a README file regarding WinRT support hace 11 años
loopwave.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. hace 2 años
loopwavequeue.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. hace 2 años
main.cpp 28b93451dc Make WinRT's SDL_main header-only hace 2 años
moose.dat 3dcb451f85 Added a README file regarding WinRT support hace 11 años
picture.xbm 3dcb451f85 Added a README file regarding WinRT support hace 11 años
relative_mode.markdown 698dbd8464 SDL_CreateWindow() has been simplified and no longer takes a window position. hace 2 años
sample.bmp 3dcb451f85 Added a README file regarding WinRT support hace 11 años
sample.wav 3dcb451f85 Added a README file regarding WinRT support hace 11 años
template.test.in c335e3db82 test/template.test.in: Pass SDL_NONINTERACTIVE_ARGUMENTS to installed-tests hace 2 años
testatomic.c 87ad71f9b2 Rename SDL mutex, semaphore and condition variable types to match SDL 3.0 naming convention hace 2 años
testaudiocapture.c 079ae065f1 Added SDL prefix AUDIO_* constants hace 1 año
testaudiohotplug.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. hace 2 años
testaudioinfo.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState hace 2 años
testaudiostreamdynamicresample.c e5a6c24c82 audio: Redesigned audio conversion code for SDL3. hace 2 años
testautomation.c bbdde648d8 Android: let main return normally for testautomation hace 2 años
testautomation_audio.c 079ae065f1 Added SDL prefix AUDIO_* constants hace 1 año
testautomation_clipboard.c 19adfa3ad9 wayland: Add support for images in clipboard. hace 1 año
testautomation_events.c 3ccfd361cb Fix video_getSetWindowPosition() that fail when checking events, hace 2 años
testautomation_guid.c c963f02571 More fix warnings about static function and prototype hace 2 años
testautomation_hints.c c963f02571 More fix warnings about static function and prototype hace 2 años
testautomation_images.c c963f02571 More fix warnings about static function and prototype hace 2 años
testautomation_images.h 4053876bf6 Fix warning drop const qualifier hace 2 años
testautomation_intrinsics.c b6ae281e97 Use #ifdef/#ifndef instead of #if defined/#if \!defined hace 2 años
testautomation_joystick.c c963f02571 More fix warnings about static function and prototype hace 2 años
testautomation_keyboard.c 3472dc11d6 Fix uses of undefined macro identifiers (-Wundef) hace 2 años
testautomation_main.c c963f02571 More fix warnings about static function and prototype hace 2 años
testautomation_math.c d392ce516a testautomation_math: avoid equality tests with INFINITY hace 2 años
testautomation_mouse.c c963f02571 More fix warnings about static function and prototype hace 2 años
testautomation_pixels.c 4286f463a8 testautomation_pixels: calling SDL_DestroyPixelFormat or SDL_DestroyPalette with NULL parameter doesn't generate an error hace 2 años
testautomation_platform.c b6ae281e97 Use #ifdef/#ifndef instead of #if defined/#if \!defined hace 2 años
testautomation_rect.c c963f02571 More fix warnings about static function and prototype hace 2 años
testautomation_render.c c963f02571 More fix warnings about static function and prototype hace 2 años
testautomation_rwops.c b6ae281e97 Use #ifdef/#ifndef instead of #if defined/#if \!defined hace 2 años
testautomation_sdltest.c 4053876bf6 Fix warning drop const qualifier hace 2 años
testautomation_stdlib.c b6ae281e97 Use #ifdef/#ifndef instead of #if defined/#if \!defined hace 2 años
testautomation_suites.h 5775d5e112 Add intrinsics test automation hace 2 años
testautomation_surface.c c963f02571 More fix warnings about static function and prototype hace 2 años
testautomation_syswm.c c30903882b cmake+tests: include SDL_build_config.h in select tests + add include paths hace 2 años
testautomation_timer.c c963f02571 More fix warnings about static function and prototype hace 2 años
testautomation_video.c a66cad79c1 SDL_GetClosestFullscreenDisplayMode() now takes a boolean whether to include high density modes hace 1 año
testbounds.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState hace 2 años
testcustomcursor.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. hace 2 años
testdisplayinfo.c c699f3d1d8 Updated SDL high DPI support hace 1 año
testdraw.c 4312abab69 testprogram: add option to use SDL_BLENDMODE_MUL hace 2 años
testdrawchessboard.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState hace 2 años
testdropfile.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. hace 2 años
testerror.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. hace 2 años
testevdev.c 3472dc11d6 Fix uses of undefined macro identifiers (-Wundef) hace 2 años
testfile.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState hace 2 años
testfilesystem.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState hace 2 años
testgamepad.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState hace 2 años
testgeometry.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. hace 2 años
testgl.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. hace 2 años
testgles.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. hace 2 años
testgles2.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. hace 2 años
testgles2_sdf.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. hace 2 años
testgles2_sdf_img_normal.bmp 0e7d435f13 Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 hace 4 años
testgles2_sdf_img_sdf.bmp 0e7d435f13 Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 hace 4 años
testhaptic.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState hace 2 años
testhittesting.c 6e2851878f testhittesting: use SDLTest_Common for creating window(s) and renderer(s) hace 2 años
testhotplug.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState hace 2 años
testiconv.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState hace 2 años
testime.c 3472dc11d6 Fix uses of undefined macro identifiers (-Wundef) hace 2 años
testintersections.c 08d5235da0 testintersections: check integer argument + no global done + get final tick before SDL shutdown hace 2 años
testjoystick.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState hace 2 años
testkeys.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState hace 2 años
testloadso.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState hace 2 años
testlocale.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState hace 2 años
testlock.c 87ad71f9b2 Rename SDL mutex, semaphore and condition variable types to match SDL 3.0 naming convention hace 2 años
testmessage.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. hace 2 años
testmouse.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState hace 2 años
testmultiaudio.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState hace 2 años
testnative.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. hace 2 años
testnative.h 3472dc11d6 Fix uses of undefined macro identifiers (-Wundef) hace 2 años
testnativecocoa.m 3dcb451f85 Added a README file regarding WinRT support hace 11 años
testnativew32.c fde78d12f2 Updated copyright for 2023 hace 2 años
testnativex11.c fde78d12f2 Updated copyright for 2023 hace 2 años
testoffscreen.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState hace 2 años
testoverlay.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. hace 2 años
testplatform.c b0a5182e84 Sunset SDL_HasRDTSC hace 2 años
testpopup.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. hace 2 años
testpower.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState hace 2 años
testqsort.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState hace 2 años
testrelative.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState hace 2 años
testrendercopyex.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. hace 2 años
testrendertarget.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. hace 2 años
testresample.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState hace 2 años
testrumble.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState hace 2 años
testrwlock.c 87ad71f9b2 Rename SDL mutex, semaphore and condition variable types to match SDL 3.0 naming convention hace 2 años
testscale.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. hace 2 años
testsem.c 87ad71f9b2 Rename SDL mutex, semaphore and condition variable types to match SDL 3.0 naming convention hace 2 años
testsensor.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState hace 2 años
testshader.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState hace 2 años
testshape.c c699f3d1d8 Updated SDL high DPI support hace 1 año
testsprite.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. hace 2 años
testspriteminimal.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. hace 2 años
teststreaming.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. hace 2 años
testsurround.c 079ae065f1 Added SDL prefix AUDIO_* constants hace 1 año
testthread.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. hace 2 años
testtimer.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState hace 2 años
testurl.c fde78d12f2 Updated copyright for 2023 hace 2 años
testutils.c 08bcee8570 test: don't use wiki urls for documentation comments hace 2 años
testutils.h fde78d12f2 Updated copyright for 2023 hace 2 años
testver.c 4d86a83fa9 testver: don't allow any arguments hace 2 años
testviewport.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. hace 2 años
testvulkan.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. hace 2 años
testwm.c d1ee44b65e Add the pixel density to the display mode list in testwm hace 1 año
testyuv.bmp a6a4e27ae8 Updated SDL's YUV support, many thanks to Adrien Descamps hace 7 años
testyuv.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState hace 2 años
testyuv_cvt.c fde78d12f2 Updated copyright for 2023 hace 2 años
testyuv_cvt.h fde78d12f2 Updated copyright for 2023 hace 2 años
torturethread.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. hace 2 años
unifont-13.0.06-license.txt f9bf1aeba8 Latest Unifont with OFL is now bundled. (#4268) hace 3 años
unifont-13.0.06.hex f9bf1aeba8 Latest Unifont with OFL is now bundled. (#4268) hace 3 años
utf8.txt 3dcb451f85 Added a README file regarding WinRT support hace 11 años

README


These are test programs for the SDL library:

checkkeys Watch the key events to check the keyboard
loopwave Audio test -- loop playing a WAV file
loopwavequeue Audio test -- loop playing a WAV file with SDL_QueueAudio
testsurround Audio test -- play test tone on each audio channel
testaudioinfo Lists audio device capabilities
testerror Tests multi-threaded error handling
testfile Tests RWops layer
testgl A very simple example of using OpenGL with SDL
testiconv Tests international string conversion
testjoystick List joysticks and watch joystick events
testkeys List the available keyboard keys
testloadso Tests the loadable library layer
testlocale Test Locale API
testlock Hacked up test of multi-threading and locking
testmouse Tests mouse coordinates
testmultiaudio Tests using several audio devices
testoverlay Tests the overlay flickering/scaling during playback.
testplatform Tests types, endianness and cpu capabilities
testsem Tests SDL's semaphore implementation
testshape Tests shaped windows
testsprite Example of fast sprite movement on the screen
testthread Hacked up test of multi-threading
testtimer Test the timer facilities
testver Check the version and dynamic loading and endianness
testwm Test window manager -- title, icon, events
torturethread Simple test for thread creation/destruction
gamepadmap Useful to generate Game Controller API compatible maps



This directory contains sample.wav, which is a sample from Will Provost's
song, The Living Proof:

From the album The Living Proof
Publisher: 5 Guys Named Will
Copyright 1996 Will Provost

You can get a copy of the full song (and album!) from iTunes...

https://itunes.apple.com/us/album/the-living-proof/id4153978

or Amazon...

http://www.amazon.com/The-Living-Proof-Will-Provost/dp/B00004R8RH

Thanks to Will for permitting us to distribute this sample with SDL!