Sylvain 59f93e20a7 Add SDL Video Capture, with back-end for linux/macos/ios/android 1 year ago
..
android a4bb4eef73 cmake: create Android jars + apks for tests 1 year ago
emscripten 6607a3cfac Disable cache in python http server 1 year ago
n3ds 655275378d N3DS port (squashed) 2 years ago
shapes 3dcb451f85 Added a README file regarding WinRT support 11 years ago
uwp a5d9db0cd0 cmake: build tests for UWP 1 year ago
CMakeLists.txt 59f93e20a7 Add SDL Video Capture, with back-end for linux/macos/ios/android 1 year ago
COPYING 3dcb451f85 Added a README file regarding WinRT support 11 years ago
README 47b0321ebf test: Removed loopwavequeue.c; obsolete in SDL3. 1 year ago
audiofile.bmp 2de9253b6c test: Added testaudio 1 year ago
checkkeys.c 70c149c88f Automatically clean up memory associated with events 1 year ago
checkkeysthreads.c 70c149c88f Automatically clean up memory associated with events 1 year ago
gamepad_axis.bmp 689555a400 Added gamepad BMP files used as sources for the header files 1 year ago
gamepad_axis.h 689555a400 Added gamepad BMP files used as sources for the header files 1 year ago
gamepad_axis_arrow.bmp 689555a400 Added gamepad BMP files used as sources for the header files 1 year ago
gamepad_axis_arrow.h 689555a400 Added gamepad BMP files used as sources for the header files 1 year ago
gamepad_back.bmp 689555a400 Added gamepad BMP files used as sources for the header files 1 year ago
gamepad_back.h 9885f4d245 Reduced the size of the gamepad front and back images 1 year ago
gamepad_battery_empty.bmp 689555a400 Added gamepad BMP files used as sources for the header files 1 year ago
gamepad_battery_empty.h 689555a400 Added gamepad BMP files used as sources for the header files 1 year ago
gamepad_battery_full.bmp 689555a400 Added gamepad BMP files used as sources for the header files 1 year ago
gamepad_battery_full.h 689555a400 Added gamepad BMP files used as sources for the header files 1 year ago
gamepad_battery_low.bmp 689555a400 Added gamepad BMP files used as sources for the header files 1 year ago
gamepad_battery_low.h 689555a400 Added gamepad BMP files used as sources for the header files 1 year ago
gamepad_battery_medium.bmp 689555a400 Added gamepad BMP files used as sources for the header files 1 year ago
gamepad_battery_medium.h 689555a400 Added gamepad BMP files used as sources for the header files 1 year ago
gamepad_battery_unknown.bmp 689555a400 Added gamepad BMP files used as sources for the header files 1 year ago
gamepad_battery_unknown.h 689555a400 Added gamepad BMP files used as sources for the header files 1 year ago
gamepad_battery_wired.bmp 689555a400 Added gamepad BMP files used as sources for the header files 1 year ago
gamepad_battery_wired.h 689555a400 Added gamepad BMP files used as sources for the header files 1 year ago
gamepad_button.bmp 689555a400 Added gamepad BMP files used as sources for the header files 1 year ago
gamepad_button.h 689555a400 Added gamepad BMP files used as sources for the header files 1 year ago
gamepad_button_background.bmp 689555a400 Added gamepad BMP files used as sources for the header files 1 year ago
gamepad_button_background.h 45cd4b8038 Added button background 1 year ago
gamepad_button_small.bmp 689555a400 Added gamepad BMP files used as sources for the header files 1 year ago
gamepad_button_small.h d44ada59fb Added joystick and gamepad element display in testgamepad 1 year ago
gamepad_face_abxy.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight 1 year ago
gamepad_face_abxy.h 1a4995371b Use light text for button labels so they show up well over the activity highlight 1 year ago
gamepad_face_bayx.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight 1 year ago
gamepad_face_bayx.h 1a4995371b Use light text for button labels so they show up well over the activity highlight 1 year ago
gamepad_face_sony.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight 1 year ago
gamepad_face_sony.h 1a4995371b Use light text for button labels so they show up well over the activity highlight 1 year ago
gamepad_front.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight 1 year ago
gamepad_front.h 1a4995371b Use light text for button labels so they show up well over the activity highlight 1 year ago
gamepad_touchpad.bmp 689555a400 Added gamepad BMP files used as sources for the header files 1 year ago
gamepad_touchpad.h 4a53dc5b8d Added touchpad visualization for testgamepad 1 year ago
gamepadutils.c efe15588d5 Relabel back paddles as left or right 1 year ago
gamepadutils.h b271e92c6e Added the ability to specify a gamepad type in the mapping 1 year ago
icon.bmp 3dcb451f85 Added a README file regarding WinRT support 11 years ago
icon.h 4c3e84897f testspriteminimal: make standalone by embedding icon.bmp 1 year ago
logaudiodev.bmp 2de9253b6c test: Added testaudio 1 year ago
loopwave.c 9c664b0062 main: Added _optional_ callback entry points. 1 year ago
main.cpp 28b93451dc Make WinRT's SDL_main header-only 2 years ago
moose.dat 3dcb451f85 Added a README file regarding WinRT support 11 years ago
physaudiodev.bmp 2de9253b6c test: Added testaudio 1 year ago
picture.xbm 3dcb451f85 Added a README file regarding WinRT support 11 years ago
pretest.c f5886f11d0 cmake: let every test depends on pretest 1 year ago
relative_mode.markdown 698dbd8464 SDL_CreateWindow() has been simplified and no longer takes a window position. 2 years ago
sample.bmp 3dcb451f85 Added a README file regarding WinRT support 11 years ago
sample.wav 3dcb451f85 Added a README file regarding WinRT support 11 years ago
soundboard.bmp be5f66c84e testaudio: Fixed soundboard icon, which had a colorkey issue. 1 year ago
soundboard_levels.bmp 2de9253b6c test: Added testaudio 1 year ago
speaker.bmp 2de9253b6c test: Added testaudio 1 year ago
template.test.in c335e3db82 test/template.test.in: Pass SDL_NONINTERACTIVE_ARGUMENTS to installed-tests 2 years ago
testatomic.c f3261fedcc Code cleanup now that SDL_bool is equivalent to a C boolean expression 1 year ago
testaudio-art.txt 2de9253b6c test: Added testaudio 1 year ago
testaudio.c 7e445da569 Added SDL_CleanupEvent() 1 year ago
testaudiocapture.c 9c664b0062 main: Added _optional_ callback entry points. 1 year ago
testaudiohotplug.c 58c859f64d audio: Rename SDL_GetAudioStreamBinding to SDL_GetAudioStreamDevice. 1 year ago
testaudioinfo.c 2f43f7bc53 audio: Allow querying of device buffer size. 1 year ago
testaudiostreamdynamicresample.c f3261fedcc Code cleanup now that SDL_bool is equivalent to a C boolean expression 1 year ago
testautomation.c fd4a2cce9e SDL_syswm.h has been removed and replaced with window properties 1 year ago
testautomation_audio.c c53843a961 docs: Remove Doxygen `\brief` tags. 1 year ago
testautomation_clipboard.c c53843a961 docs: Remove Doxygen `\brief` tags. 1 year ago
testautomation_events.c c53843a961 docs: Remove Doxygen `\brief` tags. 1 year ago
testautomation_guid.c c53843a961 docs: Remove Doxygen `\brief` tags. 1 year ago
testautomation_hints.c c53843a961 docs: Remove Doxygen `\brief` tags. 1 year ago
testautomation_images.c c53843a961 docs: Remove Doxygen `\brief` tags. 1 year ago
testautomation_images.h 4053876bf6 Fix warning drop const qualifier 2 years ago
testautomation_intrinsics.c c53843a961 docs: Remove Doxygen `\brief` tags. 1 year ago
testautomation_joystick.c c53843a961 docs: Remove Doxygen `\brief` tags. 1 year ago
testautomation_keyboard.c c53843a961 docs: Remove Doxygen `\brief` tags. 1 year ago
testautomation_main.c c53843a961 docs: Remove Doxygen `\brief` tags. 1 year ago
testautomation_math.c c53843a961 docs: Remove Doxygen `\brief` tags. 1 year ago
testautomation_mouse.c c53843a961 docs: Remove Doxygen `\brief` tags. 1 year ago
testautomation_pixels.c c53843a961 docs: Remove Doxygen `\brief` tags. 1 year ago
testautomation_platform.c c53843a961 docs: Remove Doxygen `\brief` tags. 1 year ago
testautomation_properties.c aea6e6de6f Simplified SDL_SetProperty() and added SDL_SetPropertyWithCleanup() 1 year ago
testautomation_rect.c c53843a961 docs: Remove Doxygen `\brief` tags. 1 year ago
testautomation_render.c c53843a961 docs: Remove Doxygen `\brief` tags. 1 year ago
testautomation_rwops.c c53843a961 docs: Remove Doxygen `\brief` tags. 1 year ago
testautomation_sdltest.c c53843a961 docs: Remove Doxygen `\brief` tags. 1 year ago
testautomation_stdlib.c c53843a961 docs: Remove Doxygen `\brief` tags. 1 year ago
testautomation_subsystems.c c53843a961 docs: Remove Doxygen `\brief` tags. 1 year ago
testautomation_suites.h fd4a2cce9e SDL_syswm.h has been removed and replaced with window properties 1 year ago
testautomation_surface.c c53843a961 docs: Remove Doxygen `\brief` tags. 1 year ago
testautomation_timer.c c53843a961 docs: Remove Doxygen `\brief` tags. 1 year ago
testautomation_video.c aea6e6de6f Simplified SDL_SetProperty() and added SDL_SetPropertyWithCleanup() 1 year ago
testbounds.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 years ago
testcontroller.c 1934417b4d Show the existing mapping when a controller is connected 1 year ago
testcustomcursor.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. 2 years ago
testdisplayinfo.c c699f3d1d8 Updated SDL high DPI support 1 year ago
testdraw.c a5d9db0cd0 cmake: build tests for UWP 1 year ago
testdrawchessboard.c 183606d3d4 testdrawchessboard: clean up renderer and window 1 year ago
testdropfile.c 70c149c88f Automatically clean up memory associated with events 1 year ago
testerror.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. 2 years ago
testevdev.c 8b12585e1d testevdev: Add some examples of PDP third-party Switch controllers 1 year ago
testffmpeg.c aea6e6de6f Simplified SDL_SetProperty() and added SDL_SetPropertyWithCleanup() 1 year ago
testffmpeg_videotoolbox.h d830cd140b Added support for 0-copy decode and display using Apple VideoToolbox 1 year ago
testffmpeg_videotoolbox.m d830cd140b Added support for 0-copy decode and display using Apple VideoToolbox 1 year ago
testfile.c 2a01f9dcb5 tests: plug leaks when running with --trackmem 1 year ago
testfilesystem.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 years ago
testgeometry.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. 2 years ago
testgl.c ef4ce8cec5 test: Add flag to suspend drawing when occluded 1 year ago
testgles.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. 2 years ago
testgles2.c ef4ce8cec5 test: Add flag to suspend drawing when occluded 1 year ago
testgles2_sdf.c b4291412a4 tests: build tests with C90 standard 1 year ago
testgles2_sdf_img_normal.bmp 0e7d435f13 Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 4 years ago
testgles2_sdf_img_sdf.bmp 0e7d435f13 Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 4 years ago
testhaptic.c c53843a961 docs: Remove Doxygen `\brief` tags. 1 year ago
testhittesting.c 6e2851878f testhittesting: use SDLTest_Common for creating window(s) and renderer(s) 2 years ago
testhotplug.c 65e1d568ef Fix various typos (docs/build scripts/tests) 1 year ago
testiconv.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 years ago
testime.c 70c149c88f Automatically clean up memory associated with events 1 year ago
testintersections.c 08d5235da0 testintersections: check integer argument + no global done + get final tick before SDL shutdown 2 years ago
testkeys.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 years ago
testloadso.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 years ago
testlocale.c b1a0bc3fb0 testlocale: only ininitialize video when needed 1 year ago
testlock.c 899eb0d042 thread: Locking mutexes and rwlocks are now void functions. 1 year ago
testmessage.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. 2 years ago
testmouse.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 years ago
testmultiaudio.c 58c859f64d audio: Rename SDL_GetAudioStreamBinding to SDL_GetAudioStreamDevice. 1 year ago
testnative.c 2a01f9dcb5 tests: plug leaks when running with --trackmem 1 year ago
testnative.h 3472dc11d6 Fix uses of undefined macro identifiers (-Wundef) 2 years ago
testnativecocoa.m d3f2de7f29 fixed typo in prev. patch. 1 year ago
testnativew32.c fde78d12f2 Updated copyright for 2023 2 years ago
testnativex11.c fde78d12f2 Updated copyright for 2023 2 years ago
testoffscreen.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 years ago
testoverlay.c 2bd478ae65 Added SDL_GetTextureDXGIResource() to get the DXGI resource associated with a render texture. 1 year ago
testplatform.c 65e1d568ef Fix various typos (docs/build scripts/tests) 1 year ago
testpopup.c 21ff699251 test: Fix popup test crash on exit 1 year ago
testpower.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 years ago
testqsort.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 years ago
testrelative.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 years ago
testrendercopyex.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. 2 years ago
testrendertarget.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. 2 years ago
testresample.c b903ccf945 SDL_rwops read/write functions return size_t again 1 year ago
testrumble.c c53843a961 docs: Remove Doxygen `\brief` tags. 1 year ago
testrwlock.c 899eb0d042 thread: Locking mutexes and rwlocks are now void functions. 1 year ago
testscale.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. 2 years ago
testsem.c 87ad71f9b2 Rename SDL mutex, semaphore and condition variable types to match SDL 3.0 naming convention 2 years ago
testsensor.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 years ago
testshader.c f3261fedcc Code cleanup now that SDL_bool is equivalent to a C boolean expression 1 year ago
testshape.c 04edb38cdf shape: Use SDL[Test]_ReadSurfacePixel 1 year ago
testsprite.c 9c664b0062 main: Added _optional_ callback entry points. 1 year ago
testspriteminimal.c 4c3e84897f testspriteminimal: make standalone by embedding icon.bmp 1 year ago
teststreaming.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. 2 years ago
testsurround.c 2f43f7bc53 audio: Allow querying of device buffer size. 1 year ago
testthread.c cb73bed6eb SDL API renaming: SDL TLS functions 1 year ago
testtimer.c f45761908a Move check for SDL_Delay upper bounds to testtimer 1 year ago
testurl.c fde78d12f2 Updated copyright for 2023 2 years ago
testutils.c 6c2472d459 Relicensed testutils to match other test code 1 year ago
testutils.h 6c2472d459 Relicensed testutils to match other test code 1 year ago
testver.c 4d86a83fa9 testver: don't allow any arguments 2 years ago
testvideocapture.c 59f93e20a7 Add SDL Video Capture, with back-end for linux/macos/ios/android 1 year ago
testvideocaptureminimal.c 59f93e20a7 Add SDL Video Capture, with back-end for linux/macos/ios/android 1 year ago
testviewport.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. 2 years ago
testvulkan.c 2f92807087 vulkan: SDL_Vulkan_CreateSurface now accepts an app-provided allocator. 1 year ago
testwm.c 7e445da569 Added SDL_CleanupEvent() 1 year ago
testyuv.bmp a6a4e27ae8 Updated SDL's YUV support, many thanks to Adrien Descamps 7 years ago
testyuv.c 2a01f9dcb5 tests: plug leaks when running with --trackmem 1 year ago
testyuv_cvt.c b4291412a4 tests: build tests with C90 standard 1 year ago
testyuv_cvt.h fde78d12f2 Updated copyright for 2023 2 years ago
torturethread.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. 2 years ago
trashcan.bmp 2de9253b6c test: Added testaudio 1 year ago
unifont-13.0.06-license.txt f9bf1aeba8 Latest Unifont with OFL is now bundled. (#4268) 3 years ago
unifont-13.0.06.hex f9bf1aeba8 Latest Unifont with OFL is now bundled. (#4268) 3 years ago
utf8.txt 3dcb451f85 Added a README file regarding WinRT support 11 years ago

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!