Sam Lantinga 39a961ba41 Added support for "%[]" sscanf syntax hace 1 año
..
android a4bb4eef73 cmake: create Android jars + apks for tests hace 1 año
emscripten 6607a3cfac Disable cache in python http server hace 1 año
n3ds 655275378d N3DS port (squashed) hace 2 años
shapes 3dcb451f85 Added a README file regarding WinRT support hace 11 años
uwp a5d9db0cd0 cmake: build tests for UWP hace 1 año
CMakeLists.txt 516d6f9efc testffmpeg: added support for YUVA formats using swscale hace 1 año
COPYING 3dcb451f85 Added a README file regarding WinRT support hace 11 años
README 47b0321ebf test: Removed loopwavequeue.c; obsolete in SDL3. hace 1 año
audiofile.bmp 2de9253b6c test: Added testaudio hace 1 año
checkkeys.c 2a01f9dcb5 tests: plug leaks when running with --trackmem hace 1 año
checkkeysthreads.c 2a01f9dcb5 tests: plug leaks when running with --trackmem hace 1 año
gamepad_axis.bmp 689555a400 Added gamepad BMP files used as sources for the header files hace 1 año
gamepad_axis.h 689555a400 Added gamepad BMP files used as sources for the header files hace 1 año
gamepad_axis_arrow.bmp 689555a400 Added gamepad BMP files used as sources for the header files hace 1 año
gamepad_axis_arrow.h 689555a400 Added gamepad BMP files used as sources for the header files hace 1 año
gamepad_back.bmp 689555a400 Added gamepad BMP files used as sources for the header files hace 1 año
gamepad_back.h 9885f4d245 Reduced the size of the gamepad front and back images hace 1 año
gamepad_battery_empty.bmp 689555a400 Added gamepad BMP files used as sources for the header files hace 1 año
gamepad_battery_empty.h 689555a400 Added gamepad BMP files used as sources for the header files hace 1 año
gamepad_battery_full.bmp 689555a400 Added gamepad BMP files used as sources for the header files hace 1 año
gamepad_battery_full.h 689555a400 Added gamepad BMP files used as sources for the header files hace 1 año
gamepad_battery_low.bmp 689555a400 Added gamepad BMP files used as sources for the header files hace 1 año
gamepad_battery_low.h 689555a400 Added gamepad BMP files used as sources for the header files hace 1 año
gamepad_battery_medium.bmp 689555a400 Added gamepad BMP files used as sources for the header files hace 1 año
gamepad_battery_medium.h 689555a400 Added gamepad BMP files used as sources for the header files hace 1 año
gamepad_battery_unknown.bmp 689555a400 Added gamepad BMP files used as sources for the header files hace 1 año
gamepad_battery_unknown.h 689555a400 Added gamepad BMP files used as sources for the header files hace 1 año
gamepad_battery_wired.bmp 689555a400 Added gamepad BMP files used as sources for the header files hace 1 año
gamepad_battery_wired.h 689555a400 Added gamepad BMP files used as sources for the header files hace 1 año
gamepad_button.bmp 689555a400 Added gamepad BMP files used as sources for the header files hace 1 año
gamepad_button.h 689555a400 Added gamepad BMP files used as sources for the header files hace 1 año
gamepad_button_background.bmp 689555a400 Added gamepad BMP files used as sources for the header files hace 1 año
gamepad_button_background.h 45cd4b8038 Added button background hace 1 año
gamepad_button_small.bmp 689555a400 Added gamepad BMP files used as sources for the header files hace 1 año
gamepad_button_small.h d44ada59fb Added joystick and gamepad element display in testgamepad hace 1 año
gamepad_face_abxy.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight hace 1 año
gamepad_face_abxy.h 1a4995371b Use light text for button labels so they show up well over the activity highlight hace 1 año
gamepad_face_bayx.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight hace 1 año
gamepad_face_bayx.h 1a4995371b Use light text for button labels so they show up well over the activity highlight hace 1 año
gamepad_face_sony.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight hace 1 año
gamepad_face_sony.h 1a4995371b Use light text for button labels so they show up well over the activity highlight hace 1 año
gamepad_front.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight hace 1 año
gamepad_front.h 1a4995371b Use light text for button labels so they show up well over the activity highlight hace 1 año
gamepad_touchpad.bmp 689555a400 Added gamepad BMP files used as sources for the header files hace 1 año
gamepad_touchpad.h 4a53dc5b8d Added touchpad visualization for testgamepad hace 1 año
gamepadutils.c efe15588d5 Relabel back paddles as left or right hace 1 año
gamepadutils.h b271e92c6e Added the ability to specify a gamepad type in the mapping hace 1 año
icon.bmp 3dcb451f85 Added a README file regarding WinRT support hace 11 años
icon.h 4c3e84897f testspriteminimal: make standalone by embedding icon.bmp hace 1 año
logaudiodev.bmp 2de9253b6c test: Added testaudio hace 1 año
loopwave.c b656720bc6 loopwave: Use SDL_GetAudioStreamQueued() for more accurate results. hace 1 año
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
physaudiodev.bmp 2de9253b6c test: Added testaudio hace 1 año
picture.xbm 3dcb451f85 Added a README file regarding WinRT support hace 11 años
pretest.c f5886f11d0 cmake: let every test depends on pretest hace 1 año
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
soundboard.bmp be5f66c84e testaudio: Fixed soundboard icon, which had a colorkey issue. hace 1 año
soundboard_levels.bmp 2de9253b6c test: Added testaudio hace 1 año
speaker.bmp 2de9253b6c test: Added testaudio hace 1 año
template.test.in c335e3db82 test/template.test.in: Pass SDL_NONINTERACTIVE_ARGUMENTS to installed-tests hace 2 años
testatomic.c 8adab0b88a Removed invalid assert in testatomic hace 1 año
testaudio-art.txt 2de9253b6c test: Added testaudio hace 1 año
testaudio.c c6f08c2553 testaudio: Removed debugging code. hace 1 año
testaudiocapture.c 2f43f7bc53 audio: Allow querying of device buffer size. hace 1 año
testaudiohotplug.c 58c859f64d audio: Rename SDL_GetAudioStreamBinding to SDL_GetAudioStreamDevice. hace 1 año
testaudioinfo.c 2f43f7bc53 audio: Allow querying of device buffer size. hace 1 año
testaudiostreamdynamicresample.c 2a01f9dcb5 tests: plug leaks when running with --trackmem hace 1 año
testautomation.c 973c8b3273 Added SDL properties API hace 1 año
testautomation_audio.c c552cc6847 We don't require the audio system to be initialized for audio format conversion hace 1 año
testautomation_clipboard.c c1b11ad54e Expanded automated clipboard tests hace 1 año
testautomation_events.c 2c3717881f testautomation_events.c: initialize "timestamp" to solve "conditional jump or move depends on uninitialised value" hace 1 año
testautomation_guid.c e9e4a9175f testautomation_guid.c: fix integer warning in 32 bit builds. hace 1 año
testautomation_hints.c 0f24956b0a testautomation_hints.c: free hint memory hace 1 año
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 6248472c0c test: Accept small numerical differences in more mathematical tests hace 1 año
testautomation_mouse.c 64ec208479 Fix log message spelling hace 1 año
testautomation_pixels.c 34860b932b Fixed testautomation --filter pixels_allocFreeFormat hace 1 año
testautomation_platform.c b6ae281e97 Use #ifdef/#ifndef instead of #if defined/#if \!defined hace 2 años
testautomation_properties.c 973c8b3273 Added SDL properties API hace 1 año
testautomation_rect.c 65e1d568ef Fix various typos (docs/build scripts/tests) hace 1 año
testautomation_render.c 85e3099ba4 testautomation: only require accelated renderer with non-dummy video driver hace 1 año
testautomation_rwops.c b903ccf945 SDL_rwops read/write functions return size_t again hace 1 año
testautomation_sdltest.c 4053876bf6 Fix warning drop const qualifier hace 2 años
testautomation_stdlib.c 39a961ba41 Added support for "%[]" sscanf syntax hace 1 año
testautomation_suites.h 973c8b3273 Added SDL properties API hace 1 año
testautomation_surface.c 65e1d568ef Fix various typos (docs/build scripts/tests) hace 1 año
testautomation_syswm.c c30903882b cmake+tests: include SDL_build_config.h in select tests + add include paths hace 2 años
testautomation_timer.c f45761908a Move check for SDL_Delay upper bounds to testtimer hace 1 año
testautomation_video.c 4368f70ff9 Added properties to various SDL objects hace 1 año
testbounds.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState hace 2 años
testcontroller.c 2a01f9dcb5 tests: plug leaks when running with --trackmem hace 1 año
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 a5d9db0cd0 cmake: build tests for UWP hace 1 año
testdrawchessboard.c 183606d3d4 testdrawchessboard: clean up renderer and window hace 1 año
testdropfile.c 2a01f9dcb5 tests: plug leaks when running with --trackmem hace 1 año
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 8b12585e1d testevdev: Add some examples of PDP third-party Switch controllers hace 1 año
testffmpeg.c 382751c4b5 testffmpeg: print usage of options to change audio/video codec hace 1 año
testffmpeg_videotoolbox.h d830cd140b Added support for 0-copy decode and display using Apple VideoToolbox hace 1 año
testffmpeg_videotoolbox.m d830cd140b Added support for 0-copy decode and display using Apple VideoToolbox hace 1 año
testfile.c 2a01f9dcb5 tests: plug leaks when running with --trackmem hace 1 año
testfilesystem.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 ef4ce8cec5 test: Add flag to suspend drawing when occluded hace 1 año
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 ef4ce8cec5 test: Add flag to suspend drawing when occluded hace 1 año
testgles2_sdf.c b4291412a4 tests: build tests with C90 standard hace 1 año
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 6306ee9f42 List the available haptic devices in testhaptic hace 1 año
testhittesting.c 6e2851878f testhittesting: use SDLTest_Common for creating window(s) and renderer(s) hace 2 años
testhotplug.c 65e1d568ef Fix various typos (docs/build scripts/tests) hace 1 año
testiconv.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState hace 2 años
testime.c b903ccf945 SDL_rwops read/write functions return size_t again hace 1 año
testintersections.c 08d5235da0 testintersections: check integer argument + no global done + get final tick before SDL shutdown 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 b1a0bc3fb0 testlocale: only ininitialize video when needed hace 1 año
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 58c859f64d audio: Rename SDL_GetAudioStreamBinding to SDL_GetAudioStreamDevice. hace 1 año
testnative.c 2a01f9dcb5 tests: plug leaks when running with --trackmem hace 1 año
testnative.h 3472dc11d6 Fix uses of undefined macro identifiers (-Wundef) hace 2 años
testnativecocoa.m d3f2de7f29 fixed typo in prev. patch. hace 1 año
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 2bd478ae65 Added SDL_GetTextureDXGIResource() to get the DXGI resource associated with a render texture. hace 1 año
testplatform.c 65e1d568ef Fix various typos (docs/build scripts/tests) hace 1 año
testpopup.c b4291412a4 tests: build tests with C90 standard hace 1 año
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 b903ccf945 SDL_rwops read/write functions return size_t again hace 1 año
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 04edb38cdf shape: Use SDL[Test]_ReadSurfacePixel hace 1 año
testsprite.c ef4ce8cec5 test: Add flag to suspend drawing when occluded hace 1 año
testspriteminimal.c 4c3e84897f testspriteminimal: make standalone by embedding icon.bmp hace 1 año
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 2f43f7bc53 audio: Allow querying of device buffer size. hace 1 año
testthread.c cb73bed6eb SDL API renaming: SDL TLS functions hace 1 año
testtimer.c f45761908a Move check for SDL_Delay upper bounds to testtimer hace 1 año
testurl.c fde78d12f2 Updated copyright for 2023 hace 2 años
testutils.c 6c2472d459 Relicensed testutils to match other test code hace 1 año
testutils.h 6c2472d459 Relicensed testutils to match other test code hace 1 año
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 b4291412a4 tests: build tests with C90 standard hace 1 año
testwm.c 2a01f9dcb5 tests: plug leaks when running with --trackmem hace 1 año
testyuv.bmp a6a4e27ae8 Updated SDL's YUV support, many thanks to Adrien Descamps hace 7 años
testyuv.c 2a01f9dcb5 tests: plug leaks when running with --trackmem hace 1 año
testyuv_cvt.c b4291412a4 tests: build tests with C90 standard hace 1 año
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
trashcan.bmp 2de9253b6c test: Added testaudio hace 1 año
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
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!