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

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!