Cameron Gutman ec1137dfbd cmake: Apply CETCOMPAT fix from ef988fe1 to tests il y a 2 ans
..
emscripten fe40a17224 Initial merge of Emscripten port! il y a 10 ans
nacl 5298830945 Fixed bug 3480 - minor update to NACL common.js il y a 8 ans
shapes 3dcb451f85 Added a README file regarding WinRT support il y a 11 ans
CMakeLists.txt ec1137dfbd cmake: Apply CETCOMPAT fix from ef988fe1 to tests il y a 2 ans
COPYING 3dcb451f85 Added a README file regarding WinRT support il y a 11 ans
Makefile.in 7e2a996958 Added a virtual joystick automated test il y a 2 ans
Makefile.os2 be5f55c47e watcom: add ENABLE_WERROR option to makefiles il y a 2 ans
Makefile.w32 be5f55c47e watcom: add ENABLE_WERROR option to makefiles il y a 2 ans
README cd66c050fe testsurround: Add surround sound channel tester il y a 3 ans
acinclude.m4 f3640e26a4 tests: minor update to acinclude.m4::pkg.m4 il y a 3 ans
autogen.sh 163f669745 minor tidy-up to configury. il y a 2 ans
axis.bmp 6d7da0887d Split controller axes into positive and negative sides so each can be bound independently. il y a 8 ans
button.bmp 3dcb451f85 Added a README file regarding WinRT support il y a 11 ans
checkkeys.c 391dd0d94b Don't spin as quickly as possible in the checkkeys rendering loop il y a 2 ans
checkkeysthreads.c 120c76c84b Updated copyright for 2022 il y a 3 ans
configure 45da133999 cmake: don't error on apple when using deprecated declarations il y a 2 ans
configure.ac 45da133999 cmake: don't error on apple when using deprecated declarations il y a 2 ans
controllermap.bmp 009b62f1c2 Be explicit about mapping the new game controller paddle buttons il y a 4 ans
controllermap.c d04fa0ef76 controllermap: use enum to avoid '-Wmaybe-uninitialized' il y a 2 ans
controllermap_back.bmp 009b62f1c2 Be explicit about mapping the new game controller paddle buttons il y a 4 ans
icon.bmp 3dcb451f85 Added a README file regarding WinRT support il y a 11 ans
loopwave.c 76a7b629bf test: Add some common code to load test resources il y a 3 ans
loopwavequeue.c 76a7b629bf test: Add some common code to load test resources il y a 3 ans
moose.dat 3dcb451f85 Added a README file regarding WinRT support il y a 11 ans
picture.xbm 3dcb451f85 Added a README file regarding WinRT support il y a 11 ans
relative_mode.markdown bd61c276fa Fixed compiling test with older C. il y a 10 ans
sample.bmp 3dcb451f85 Added a README file regarding WinRT support il y a 11 ans
sample.wav 3dcb451f85 Added a README file regarding WinRT support il y a 11 ans
template.test.in ce502054ad test: Install GNOME-style installed-tests metadata il y a 3 ans
testatomic.c 345efdcb10 Wait for all the threads to actually finish before exiting il y a 2 ans
testaudiocapture.c 120c76c84b Updated copyright for 2022 il y a 3 ans
testaudiohotplug.c 76a7b629bf test: Add some common code to load test resources il y a 3 ans
testaudioinfo.c 0d6c4ff622 testaudioinfo: Initialize deviceName unconditionally il y a 2 ans
testautomation.c 28ecdc6bc7 No need to cast from char* to const char* il y a 2 ans
testautomation_audio.c b771d9beec tests: avoid MSVC preaching about unsafe functions il y a 2 ans
testautomation_clipboard.c ac5b9bc4ee Add support for X11 primary selection (#6132) il y a 2 ans
testautomation_events.c da66755450 Fixed up legacy MoinMoin URLs at wiki.libsdl.org il y a 4 ans
testautomation_guid.c 0a600b1df4 Merge testguid into testautomation (#5873) il y a 2 ans
testautomation_hints.c 64ea6cefaf SDL_ResetHint() no longer clears the callbacks associated with a hint il y a 2 ans
testautomation_joystick.c 7e2a996958 Added a virtual joystick automated test il y a 2 ans
testautomation_keyboard.c 990fb668f7 tests: several -Wwrite-strings fixes. il y a 3 ans
testautomation_main.c 57c886551f automation_main.c: fix -Wformat-zero-length warning due to SDL_SetError("") il y a 2 ans
testautomation_math.c 73d8d02629 Test: Fix Exp base case for Win32. il y a 2 ans
testautomation_mouse.c b8a4b8d1cd testautomation_mouse: fix format '%i' expecting 'int' instead of 'Uint32' il y a 2 ans
testautomation_pixels.c 990fb668f7 tests: several -Wwrite-strings fixes. il y a 3 ans
testautomation_platform.c 274ec02581 testautomation: avoid format related warnings by using a few pragma's il y a 2 ans
testautomation_rect.c 46624b4e1d Removed two distracting gcc-11 warnings il y a 2 ans
testautomation_render.c 7f1feee02a Fixed bug #2426 - SDL_RenderReadPixels result is unspecified and fails testautomation il y a 3 ans
testautomation_rwops.c b771d9beec tests: avoid MSVC preaching about unsafe functions il y a 2 ans
testautomation_sdltest.c d31251b014 use SDL's functions version inplace of libc version il y a 3 ans
testautomation_stdlib.c 274ec02581 testautomation: avoid format related warnings by using a few pragma's il y a 2 ans
testautomation_suites.h 7e2a996958 Added a virtual joystick automated test il y a 2 ans
testautomation_surface.c dd51787e07 Fix SDL_PIXELFORMAT_INDEX1LSB test case il y a 2 ans
testautomation_syswm.c 5575948b37 Fixed bug 2726 - WinRT touches not setting 'which' field in virtual mouse events il y a 10 ans
testautomation_timer.c ca5c304814 Fixed bug 3744 - missing SDLCALL in several functions il y a 7 ans
testautomation_video.c df36f926fc testautomation: add video_setWindowCenteredOnDisplay test il y a 2 ans
testbounds.c 120c76c84b Updated copyright for 2022 il y a 3 ans
testcustomcursor.c a905db9d65 testcustomcursor: fix Wswitch warning by casting the arg to an int il y a 2 ans
testdisplayinfo.c 120c76c84b Updated copyright for 2022 il y a 3 ans
testdraw2.c 120c76c84b Updated copyright for 2022 il y a 3 ans
testdrawchessboard.c 120c76c84b Updated copyright for 2022 il y a 3 ans
testdropfile.c 120c76c84b Updated copyright for 2022 il y a 3 ans
testerror.c 40bef98f8b test: Add a mode to skip tests that involve arbitrary delays il y a 3 ans
testevdev.c b299f74d05 test: Make testevdev succeed if the feature is disabled il y a 3 ans
testfile.c 120c76c84b Updated copyright for 2022 il y a 3 ans
testfilesystem.c 643f9e56d0 Rename folder created in test_filesystem il y a 2 ans
testgamecontroller.c bb527678a3 testgamecontroller: fix -Wshadow warning by renaming global axis+button textures il y a 2 ans
testgeometry.c f3389f13ef testgeometry: fix conversion from 'double' to 'float', possible loss of data il y a 2 ans
testgesture.c 94e5c3f30e testgesture: display device name with SDL_GetTouchName() il y a 3 ans
testgl2.c 120c76c84b Updated copyright for 2022 il y a 3 ans
testgles.c 120c76c84b Updated copyright for 2022 il y a 3 ans
testgles2.c 99e9156ff5 testgles2: Fix typo in help text il y a 2 ans
testgles2_sdf.c 76a7b629bf test: Add some common code to load test resources il y a 3 ans
testgles2_sdf_img_normal.bmp 0e7d435f13 Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 il y a 4 ans
testgles2_sdf_img_sdf.bmp 0e7d435f13 Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 il y a 4 ans
testhaptic.c d022039529 testhaptic: fix watcom "&array may not produce intended result" warning il y a 2 ans
testhittesting.c ca5c304814 Fixed bug 3744 - missing SDLCALL in several functions il y a 7 ans
testhotplug.c 120c76c84b Updated copyright for 2022 il y a 3 ans
testiconv.c b771d9beec tests: avoid MSVC preaching about unsafe functions il y a 2 ans
testime.c 76a7b629bf test: Add some common code to load test resources il y a 3 ans
testintersections.c 3c251ec41e testintersections: fix conversion from `time_t` to `unsigned int` il y a 2 ans
testjoystick.c 19ecb64e0d Fixed build il y a 2 ans
testkeys.c 120c76c84b Updated copyright for 2022 il y a 3 ans
testloadso.c 120c76c84b Updated copyright for 2022 il y a 3 ans
testlocale.c 120c76c84b Updated copyright for 2022 il y a 3 ans
testlock.c 120c76c84b Updated copyright for 2022 il y a 3 ans
testmessage.c 7ae5d8d406 testmessage: fix conversion from `intptr_t` to `Uint32` il y a 2 ans
testmouse.c 8770689525 testmouse: add explicit int-cast to avoid warning about converting `float` to `int` il y a 2 ans
testmultiaudio.c 76a7b629bf test: Add some common code to load test resources il y a 3 ans
testnative.c 7a7980fafa testnative: fix conversion from `time_t` to `unsigned int` il y a 2 ans
testnative.h 120c76c84b Updated copyright for 2022 il y a 3 ans
testnativecocoa.m 3dcb451f85 Added a README file regarding WinRT support il y a 11 ans
testnativeos2.c 120c76c84b Updated copyright for 2022 il y a 3 ans
testnativew32.c 120c76c84b Updated copyright for 2022 il y a 3 ans
testnativex11.c 120c76c84b Updated copyright for 2022 il y a 3 ans
testoffscreen.c 02b200ef08 testoffscreen: fix '<': signed/unsigned mismatch il y a 2 ans
testoverlay2.c 76a7b629bf test: Add some common code to load test resources il y a 3 ans
testplatform.c a932581775 testplatform: Add LSX and LASX checks il y a 2 ans
testpower.c 120c76c84b Updated copyright for 2022 il y a 3 ans
testqsort.c 0cca71a846 Use SDLCALL for callbacks in public APIs il y a 2 ans
testrelative.c 120c76c84b Updated copyright for 2022 il y a 3 ans
testrendercopyex.c 76a7b629bf test: Add some common code to load test resources il y a 3 ans
testrendertarget.c 76a7b629bf test: Add some common code to load test resources il y a 3 ans
testresample.c 120c76c84b Updated copyright for 2022 il y a 3 ans
testrumble.c 120c76c84b Updated copyright for 2022 il y a 3 ans
testscale.c 76a7b629bf test: Add some common code to load test resources il y a 3 ans
testsem.c 120c76c84b Updated copyright for 2022 il y a 3 ans
testsensor.c 120c76c84b Updated copyright for 2022 il y a 3 ans
testshader.c beecae31f6 testshader: use SDL_malloc instead of SDL_stack_alloc. il y a 3 ans
testshape.c 120c76c84b Updated copyright for 2022 il y a 3 ans
testsprite2.c 3b191580c3 Windows GDK Support (#5830) il y a 2 ans
testspriteminimal.c 18c776e155 testspriteminimal: fix conversion from `time_t` to `unsigned int` il y a 2 ans
teststreaming.c 76a7b629bf test: Add some common code to load test resources il y a 3 ans
testsurround.c 40bef98f8b test: Add a mode to skip tests that involve arbitrary delays il y a 3 ans
testthread.c 40bef98f8b test: Add a mode to skip tests that involve arbitrary delays il y a 3 ans
testtimer.c 40bef98f8b test: Add a mode to skip tests that involve arbitrary delays il y a 3 ans
testurl.c 0025621b80 Add a default URL in testurl il y a 2 ans
testutils.c d2b5965894 Remove extra path separator in GetNearbyFilename il y a 2 ans
testutils.h 76a7b629bf test: Add some common code to load test resources il y a 3 ans
testver.c 120c76c84b Updated copyright for 2022 il y a 3 ans
testviewport.c 76a7b629bf test: Add some common code to load test resources il y a 3 ans
testvulkan.c 120c76c84b Updated copyright for 2022 il y a 3 ans
testwm2.c 120c76c84b Updated copyright for 2022 il y a 3 ans
testyuv.bmp a6a4e27ae8 Updated SDL's YUV support, many thanks to Adrien Descamps il y a 7 ans
testyuv.c 120c76c84b Updated copyright for 2022 il y a 3 ans
testyuv_cvt.c 120c76c84b Updated copyright for 2022 il y a 3 ans
testyuv_cvt.h 120c76c84b Updated copyright for 2022 il y a 3 ans
torturethread.c 120c76c84b Updated copyright for 2022 il y a 3 ans
unifont-13.0.06-license.txt f9bf1aeba8 Latest Unifont with OFL is now bundled. (#4268) il y a 3 ans
unifont-13.0.06.hex f9bf1aeba8 Latest Unifont with OFL is now bundled. (#4268) il y a 3 ans
utf8.txt 3dcb451f85 Added a README file regarding WinRT support il y a 11 ans
watcom.mif c833294817 tests, watcom: silence lots of W202 warnings from new vulkan headers. il y a 2 ans

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
testgl2 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
testoverlay2 Tests the overlay flickering/scaling during playback.
testplatform Tests types, endianness and cpu capabilities
testsem Tests SDL's semaphore implementation
testshape Tests shaped windows
testsprite2 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
testwm2 Test window manager -- title, icon, events
torturethread Simple test for thread creation/destruction
controllermap 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!