Ryan C. Gordon bb1cbbd33a test: Update testaudioinfo for SDL3 audio API. vor 1 Jahr
..
android a4bb4eef73 cmake: create Android jars + apks for tests vor 1 Jahr
emscripten fe40a17224 Initial merge of Emscripten port! vor 10 Jahren
n3ds 655275378d N3DS port (squashed) vor 2 Jahren
shapes 3dcb451f85 Added a README file regarding WinRT support vor 11 Jahren
CMakeLists.txt 47b0321ebf test: Removed loopwavequeue.c; obsolete in SDL3. vor 1 Jahr
COPYING 3dcb451f85 Added a README file regarding WinRT support vor 11 Jahren
README 47b0321ebf test: Removed loopwavequeue.c; obsolete in SDL3. vor 1 Jahr
checkkeys.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. vor 2 Jahren
checkkeysthreads.c b4291412a4 tests: build tests with C90 standard vor 1 Jahr
gamepad_axis.bmp 689555a400 Added gamepad BMP files used as sources for the header files vor 1 Jahr
gamepad_axis.h 689555a400 Added gamepad BMP files used as sources for the header files vor 1 Jahr
gamepad_axis_arrow.bmp 689555a400 Added gamepad BMP files used as sources for the header files vor 1 Jahr
gamepad_axis_arrow.h 689555a400 Added gamepad BMP files used as sources for the header files vor 1 Jahr
gamepad_back.bmp 689555a400 Added gamepad BMP files used as sources for the header files vor 1 Jahr
gamepad_back.h 9885f4d245 Reduced the size of the gamepad front and back images vor 1 Jahr
gamepad_battery_empty.bmp 689555a400 Added gamepad BMP files used as sources for the header files vor 1 Jahr
gamepad_battery_empty.h 689555a400 Added gamepad BMP files used as sources for the header files vor 1 Jahr
gamepad_battery_full.bmp 689555a400 Added gamepad BMP files used as sources for the header files vor 1 Jahr
gamepad_battery_full.h 689555a400 Added gamepad BMP files used as sources for the header files vor 1 Jahr
gamepad_battery_low.bmp 689555a400 Added gamepad BMP files used as sources for the header files vor 1 Jahr
gamepad_battery_low.h 689555a400 Added gamepad BMP files used as sources for the header files vor 1 Jahr
gamepad_battery_medium.bmp 689555a400 Added gamepad BMP files used as sources for the header files vor 1 Jahr
gamepad_battery_medium.h 689555a400 Added gamepad BMP files used as sources for the header files vor 1 Jahr
gamepad_battery_unknown.bmp 689555a400 Added gamepad BMP files used as sources for the header files vor 1 Jahr
gamepad_battery_unknown.h 689555a400 Added gamepad BMP files used as sources for the header files vor 1 Jahr
gamepad_battery_wired.bmp 689555a400 Added gamepad BMP files used as sources for the header files vor 1 Jahr
gamepad_battery_wired.h 689555a400 Added gamepad BMP files used as sources for the header files vor 1 Jahr
gamepad_button.bmp 689555a400 Added gamepad BMP files used as sources for the header files vor 1 Jahr
gamepad_button.h 689555a400 Added gamepad BMP files used as sources for the header files vor 1 Jahr
gamepad_button_background.bmp 689555a400 Added gamepad BMP files used as sources for the header files vor 1 Jahr
gamepad_button_background.h 45cd4b8038 Added button background vor 1 Jahr
gamepad_button_small.bmp 689555a400 Added gamepad BMP files used as sources for the header files vor 1 Jahr
gamepad_button_small.h d44ada59fb Added joystick and gamepad element display in testgamepad vor 1 Jahr
gamepad_face_abxy.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight vor 1 Jahr
gamepad_face_abxy.h 1a4995371b Use light text for button labels so they show up well over the activity highlight vor 1 Jahr
gamepad_face_bayx.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight vor 1 Jahr
gamepad_face_bayx.h 1a4995371b Use light text for button labels so they show up well over the activity highlight vor 1 Jahr
gamepad_face_sony.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight vor 1 Jahr
gamepad_face_sony.h 1a4995371b Use light text for button labels so they show up well over the activity highlight vor 1 Jahr
gamepad_front.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight vor 1 Jahr
gamepad_front.h 1a4995371b Use light text for button labels so they show up well over the activity highlight vor 1 Jahr
gamepad_touchpad.bmp 689555a400 Added gamepad BMP files used as sources for the header files vor 1 Jahr
gamepad_touchpad.h 4a53dc5b8d Added touchpad visualization for testgamepad vor 1 Jahr
gamepadutils.c 255f297439 Fixed crash if SetMappingValue() is passed a NULL key vor 1 Jahr
gamepadutils.h b271e92c6e Added the ability to specify a gamepad type in the mapping vor 1 Jahr
icon.bmp 3dcb451f85 Added a README file regarding WinRT support vor 11 Jahren
loopwave.c f598626e46 test: loopwave shouldn't use an audiostream callback. vor 1 Jahr
main.cpp 28b93451dc Make WinRT's SDL_main header-only vor 2 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 698dbd8464 SDL_CreateWindow() has been simplified and no longer takes a window position. vor 2 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 c335e3db82 test/template.test.in: Pass SDL_NONINTERACTIVE_ARGUMENTS to installed-tests vor 2 Jahren
testatomic.c 8adab0b88a Removed invalid assert in testatomic vor 1 Jahr
testaudiocapture.c 079ae065f1 Added SDL prefix AUDIO_* constants vor 2 Jahren
testaudiohotplug.c f883b9fc64 test: Updated testaudiohotplug to SDL3 audio API. vor 1 Jahr
testaudioinfo.c bb1cbbd33a test: Update testaudioinfo for SDL3 audio API. vor 1 Jahr
testaudiostreamdynamicresample.c 5d4e9e5f80 test: Updated testaudiostreamdynamicresample to SDL3 audio API. vor 1 Jahr
testautomation.c bbdde648d8 Android: let main return normally for testautomation vor 2 Jahren
testautomation_audio.c 079ae065f1 Added SDL prefix AUDIO_* constants vor 2 Jahren
testautomation_clipboard.c c1b11ad54e Expanded automated clipboard tests vor 1 Jahr
testautomation_events.c 2c3717881f testautomation_events.c: initialize "timestamp" to solve "conditional jump or move depends on uninitialised value" vor 1 Jahr
testautomation_guid.c e9e4a9175f testautomation_guid.c: fix integer warning in 32 bit builds. vor 1 Jahr
testautomation_hints.c 0f24956b0a testautomation_hints.c: free hint memory vor 1 Jahr
testautomation_images.c c963f02571 More fix warnings about static function and prototype vor 2 Jahren
testautomation_images.h 4053876bf6 Fix warning drop const qualifier vor 2 Jahren
testautomation_intrinsics.c b6ae281e97 Use #ifdef/#ifndef instead of #if defined/#if \!defined vor 2 Jahren
testautomation_joystick.c c963f02571 More fix warnings about static function and prototype vor 2 Jahren
testautomation_keyboard.c 3472dc11d6 Fix uses of undefined macro identifiers (-Wundef) vor 2 Jahren
testautomation_main.c c963f02571 More fix warnings about static function and prototype vor 2 Jahren
testautomation_math.c 2e465ae31b Revert "Added SDL_nextafter() and SDL_nextafterf()" vor 1 Jahr
testautomation_mouse.c c963f02571 More fix warnings about static function and prototype vor 2 Jahren
testautomation_pixels.c e264bb5178 Rename SDL_PIXELFORMAT_RGB888 and SDL_PIXELFORMAT_BGR888 to SDL_PIXELFORMAT_XRGB8888 and SDL_PIXELFORMAT_XBGR8888 for clarity vor 1 Jahr
testautomation_platform.c b6ae281e97 Use #ifdef/#ifndef instead of #if defined/#if \!defined vor 2 Jahren
testautomation_rect.c 65e1d568ef Fix various typos (docs/build scripts/tests) vor 1 Jahr
testautomation_render.c 00fc50557e Make sure logical presentation is complete before destroying the logical render target vor 1 Jahr
testautomation_rwops.c b6ae281e97 Use #ifdef/#ifndef instead of #if defined/#if \!defined vor 2 Jahren
testautomation_sdltest.c 4053876bf6 Fix warning drop const qualifier vor 2 Jahren
testautomation_stdlib.c 0a4e6f6d29 Added SDL_strnlen() and SDL_wcsnlen() vor 1 Jahr
testautomation_suites.h 5775d5e112 Add intrinsics test automation vor 2 Jahren
testautomation_surface.c 65e1d568ef Fix various typos (docs/build scripts/tests) vor 1 Jahr
testautomation_syswm.c c30903882b cmake+tests: include SDL_build_config.h in select tests + add include paths vor 2 Jahren
testautomation_timer.c c963f02571 More fix warnings about static function and prototype vor 2 Jahren
testautomation_video.c f8e8dff7ee tests: Fix automated window grab and positioning tests under Wayland/XWayland vor 1 Jahr
testbounds.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState vor 2 Jahren
testcontroller.c 58882425fc Use the lower index axis if the controller generates two axes for a single element vor 1 Jahr
testcustomcursor.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. vor 2 Jahren
testdisplayinfo.c c699f3d1d8 Updated SDL high DPI support vor 1 Jahr
testdraw.c 4312abab69 testprogram: add option to use SDL_BLENDMODE_MUL vor 2 Jahren
testdrawchessboard.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState vor 2 Jahren
testdropfile.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. vor 2 Jahren
testerror.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. vor 2 Jahren
testevdev.c 8b12585e1d testevdev: Add some examples of PDP third-party Switch controllers vor 1 Jahr
testfile.c 65e1d568ef Fix various typos (docs/build scripts/tests) vor 1 Jahr
testfilesystem.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState vor 2 Jahren
testgeometry.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. vor 2 Jahren
testgl.c ef4ce8cec5 test: Add flag to suspend drawing when occluded vor 1 Jahr
testgles.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. vor 2 Jahren
testgles2.c ef4ce8cec5 test: Add flag to suspend drawing when occluded vor 1 Jahr
testgles2_sdf.c b4291412a4 tests: build tests with C90 standard vor 1 Jahr
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 6306ee9f42 List the available haptic devices in testhaptic vor 1 Jahr
testhittesting.c 6e2851878f testhittesting: use SDLTest_Common for creating window(s) and renderer(s) vor 2 Jahren
testhotplug.c 65e1d568ef Fix various typos (docs/build scripts/tests) vor 1 Jahr
testiconv.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState vor 2 Jahren
testime.c 65e1d568ef Fix various typos (docs/build scripts/tests) vor 1 Jahr
testintersections.c 08d5235da0 testintersections: check integer argument + no global done + get final tick before SDL shutdown vor 2 Jahren
testkeys.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState vor 2 Jahren
testloadso.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState vor 2 Jahren
testlocale.c b1a0bc3fb0 testlocale: only ininitialize video when needed vor 1 Jahr
testlock.c 87ad71f9b2 Rename SDL mutex, semaphore and condition variable types to match SDL 3.0 naming convention vor 2 Jahren
testmessage.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. vor 2 Jahren
testmouse.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState vor 2 Jahren
testmultiaudio.c b03c493fc4 test: Updated testmultiaudio to new SDL3 audio API vor 1 Jahr
testnative.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. vor 2 Jahren
testnative.h 3472dc11d6 Fix uses of undefined macro identifiers (-Wundef) vor 2 Jahren
testnativecocoa.m d3f2de7f29 fixed typo in prev. patch. vor 1 Jahr
testnativew32.c fde78d12f2 Updated copyright for 2023 vor 2 Jahren
testnativex11.c fde78d12f2 Updated copyright for 2023 vor 2 Jahren
testoffscreen.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState vor 2 Jahren
testoverlay.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. vor 2 Jahren
testplatform.c 65e1d568ef Fix various typos (docs/build scripts/tests) vor 1 Jahr
testpopup.c b4291412a4 tests: build tests with C90 standard vor 1 Jahr
testpower.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState vor 2 Jahren
testqsort.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState vor 2 Jahren
testrelative.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState vor 2 Jahren
testrendercopyex.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. vor 2 Jahren
testrendertarget.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. vor 2 Jahren
testresample.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState vor 2 Jahren
testrumble.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState vor 2 Jahren
testrwlock.c 87ad71f9b2 Rename SDL mutex, semaphore and condition variable types to match SDL 3.0 naming convention vor 2 Jahren
testscale.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. vor 2 Jahren
testsem.c 87ad71f9b2 Rename SDL mutex, semaphore and condition variable types to match SDL 3.0 naming convention vor 2 Jahren
testsensor.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState vor 2 Jahren
testshader.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState vor 2 Jahren
testshape.c b4291412a4 tests: build tests with C90 standard vor 1 Jahr
testsprite.c ef4ce8cec5 test: Add flag to suspend drawing when occluded vor 1 Jahr
testspriteminimal.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. vor 2 Jahren
teststreaming.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. vor 2 Jahren
testsurround.c 079ae065f1 Added SDL prefix AUDIO_* constants vor 2 Jahren
testthread.c cb73bed6eb SDL API renaming: SDL TLS functions vor 1 Jahr
testtimer.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState vor 2 Jahren
testurl.c fde78d12f2 Updated copyright for 2023 vor 2 Jahren
testutils.c 6c2472d459 Relicensed testutils to match other test code vor 1 Jahr
testutils.h 6c2472d459 Relicensed testutils to match other test code vor 1 Jahr
testver.c 4d86a83fa9 testver: don't allow any arguments vor 2 Jahren
testviewport.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. vor 2 Jahren
testvulkan.c b4291412a4 tests: build tests with C90 standard vor 1 Jahr
testwm.c d1ee44b65e Add the pixel density to the display mode list in testwm vor 1 Jahr
testyuv.bmp a6a4e27ae8 Updated SDL's YUV support, many thanks to Adrien Descamps vor 7 Jahren
testyuv.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState vor 2 Jahren
testyuv_cvt.c b4291412a4 tests: build tests with C90 standard vor 1 Jahr
testyuv_cvt.h fde78d12f2 Updated copyright for 2023 vor 2 Jahren
torturethread.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. vor 2 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

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
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
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!