Sam Lantinga f3261fedcc Code cleanup now that SDL_bool is equivalent to a C boolean expression преди 1 година
..
android a4bb4eef73 cmake: create Android jars + apks for tests преди 1 година
emscripten 6607a3cfac Disable cache in python http server преди 1 година
n3ds 655275378d N3DS port (squashed) преди 2 години
shapes 3dcb451f85 Added a README file regarding WinRT support преди 11 години
uwp a5d9db0cd0 cmake: build tests for UWP преди 1 година
CMakeLists.txt 9c664b0062 main: Added _optional_ callback entry points. преди 1 година
COPYING 3dcb451f85 Added a README file regarding WinRT support преди 11 години
README 47b0321ebf test: Removed loopwavequeue.c; obsolete in SDL3. преди 1 година
audiofile.bmp 2de9253b6c test: Added testaudio преди 1 година
checkkeys.c f3261fedcc Code cleanup now that SDL_bool is equivalent to a C boolean expression преди 1 година
checkkeysthreads.c f3261fedcc Code cleanup now that SDL_bool is equivalent to a C boolean expression преди 1 година
gamepad_axis.bmp 689555a400 Added gamepad BMP files used as sources for the header files преди 1 година
gamepad_axis.h 689555a400 Added gamepad BMP files used as sources for the header files преди 1 година
gamepad_axis_arrow.bmp 689555a400 Added gamepad BMP files used as sources for the header files преди 1 година
gamepad_axis_arrow.h 689555a400 Added gamepad BMP files used as sources for the header files преди 1 година
gamepad_back.bmp 689555a400 Added gamepad BMP files used as sources for the header files преди 1 година
gamepad_back.h 9885f4d245 Reduced the size of the gamepad front and back images преди 1 година
gamepad_battery_empty.bmp 689555a400 Added gamepad BMP files used as sources for the header files преди 1 година
gamepad_battery_empty.h 689555a400 Added gamepad BMP files used as sources for the header files преди 1 година
gamepad_battery_full.bmp 689555a400 Added gamepad BMP files used as sources for the header files преди 1 година
gamepad_battery_full.h 689555a400 Added gamepad BMP files used as sources for the header files преди 1 година
gamepad_battery_low.bmp 689555a400 Added gamepad BMP files used as sources for the header files преди 1 година
gamepad_battery_low.h 689555a400 Added gamepad BMP files used as sources for the header files преди 1 година
gamepad_battery_medium.bmp 689555a400 Added gamepad BMP files used as sources for the header files преди 1 година
gamepad_battery_medium.h 689555a400 Added gamepad BMP files used as sources for the header files преди 1 година
gamepad_battery_unknown.bmp 689555a400 Added gamepad BMP files used as sources for the header files преди 1 година
gamepad_battery_unknown.h 689555a400 Added gamepad BMP files used as sources for the header files преди 1 година
gamepad_battery_wired.bmp 689555a400 Added gamepad BMP files used as sources for the header files преди 1 година
gamepad_battery_wired.h 689555a400 Added gamepad BMP files used as sources for the header files преди 1 година
gamepad_button.bmp 689555a400 Added gamepad BMP files used as sources for the header files преди 1 година
gamepad_button.h 689555a400 Added gamepad BMP files used as sources for the header files преди 1 година
gamepad_button_background.bmp 689555a400 Added gamepad BMP files used as sources for the header files преди 1 година
gamepad_button_background.h 45cd4b8038 Added button background преди 1 година
gamepad_button_small.bmp 689555a400 Added gamepad BMP files used as sources for the header files преди 1 година
gamepad_button_small.h d44ada59fb Added joystick and gamepad element display in testgamepad преди 1 година
gamepad_face_abxy.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight преди 1 година
gamepad_face_abxy.h 1a4995371b Use light text for button labels so they show up well over the activity highlight преди 1 година
gamepad_face_bayx.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight преди 1 година
gamepad_face_bayx.h 1a4995371b Use light text for button labels so they show up well over the activity highlight преди 1 година
gamepad_face_sony.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight преди 1 година
gamepad_face_sony.h 1a4995371b Use light text for button labels so they show up well over the activity highlight преди 1 година
gamepad_front.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight преди 1 година
gamepad_front.h 1a4995371b Use light text for button labels so they show up well over the activity highlight преди 1 година
gamepad_touchpad.bmp 689555a400 Added gamepad BMP files used as sources for the header files преди 1 година
gamepad_touchpad.h 4a53dc5b8d Added touchpad visualization for testgamepad преди 1 година
gamepadutils.c efe15588d5 Relabel back paddles as left or right преди 1 година
gamepadutils.h b271e92c6e Added the ability to specify a gamepad type in the mapping преди 1 година
icon.bmp 3dcb451f85 Added a README file regarding WinRT support преди 11 години
icon.h 4c3e84897f testspriteminimal: make standalone by embedding icon.bmp преди 1 година
logaudiodev.bmp 2de9253b6c test: Added testaudio преди 1 година
loopwave.c 9c664b0062 main: Added _optional_ callback entry points. преди 1 година
main.cpp 28b93451dc Make WinRT's SDL_main header-only преди 2 години
moose.dat 3dcb451f85 Added a README file regarding WinRT support преди 11 години
physaudiodev.bmp 2de9253b6c test: Added testaudio преди 1 година
picture.xbm 3dcb451f85 Added a README file regarding WinRT support преди 11 години
pretest.c f5886f11d0 cmake: let every test depends on pretest преди 1 година
relative_mode.markdown 698dbd8464 SDL_CreateWindow() has been simplified and no longer takes a window position. преди 2 години
sample.bmp 3dcb451f85 Added a README file regarding WinRT support преди 11 години
sample.wav 3dcb451f85 Added a README file regarding WinRT support преди 11 години
soundboard.bmp be5f66c84e testaudio: Fixed soundboard icon, which had a colorkey issue. преди 1 година
soundboard_levels.bmp 2de9253b6c test: Added testaudio преди 1 година
speaker.bmp 2de9253b6c test: Added testaudio преди 1 година
template.test.in c335e3db82 test/template.test.in: Pass SDL_NONINTERACTIVE_ARGUMENTS to installed-tests преди 2 години
testatomic.c f3261fedcc Code cleanup now that SDL_bool is equivalent to a C boolean expression преди 1 година
testaudio-art.txt 2de9253b6c test: Added testaudio преди 1 година
testaudio.c f3261fedcc Code cleanup now that SDL_bool is equivalent to a C boolean expression преди 1 година
testaudiocapture.c 9c664b0062 main: Added _optional_ callback entry points. преди 1 година
testaudiohotplug.c 58c859f64d audio: Rename SDL_GetAudioStreamBinding to SDL_GetAudioStreamDevice. преди 1 година
testaudioinfo.c 2f43f7bc53 audio: Allow querying of device buffer size. преди 1 година
testaudiostreamdynamicresample.c f3261fedcc Code cleanup now that SDL_bool is equivalent to a C boolean expression преди 1 година
testautomation.c 973c8b3273 Added SDL properties API преди 1 година
testautomation_audio.c c552cc6847 We don't require the audio system to be initialized for audio format conversion преди 1 година
testautomation_clipboard.c c1b11ad54e Expanded automated clipboard tests преди 1 година
testautomation_events.c 2c3717881f testautomation_events.c: initialize "timestamp" to solve "conditional jump or move depends on uninitialised value" преди 1 година
testautomation_guid.c e9e4a9175f testautomation_guid.c: fix integer warning in 32 bit builds. преди 1 година
testautomation_hints.c 0f24956b0a testautomation_hints.c: free hint memory преди 1 година
testautomation_images.c c963f02571 More fix warnings about static function and prototype преди 2 години
testautomation_images.h 4053876bf6 Fix warning drop const qualifier преди 2 години
testautomation_intrinsics.c b6ae281e97 Use #ifdef/#ifndef instead of #if defined/#if \!defined преди 2 години
testautomation_joystick.c c963f02571 More fix warnings about static function and prototype преди 2 години
testautomation_keyboard.c 3472dc11d6 Fix uses of undefined macro identifiers (-Wundef) преди 2 години
testautomation_main.c c963f02571 More fix warnings about static function and prototype преди 2 години
testautomation_math.c 6248472c0c test: Accept small numerical differences in more mathematical tests преди 1 година
testautomation_mouse.c 64ec208479 Fix log message spelling преди 1 година
testautomation_pixels.c 34860b932b Fixed testautomation --filter pixels_allocFreeFormat преди 1 година
testautomation_platform.c b6ae281e97 Use #ifdef/#ifndef instead of #if defined/#if \!defined преди 2 години
testautomation_properties.c 973c8b3273 Added SDL properties API преди 1 година
testautomation_rect.c 65e1d568ef Fix various typos (docs/build scripts/tests) преди 1 година
testautomation_render.c 85e3099ba4 testautomation: only require accelated renderer with non-dummy video driver преди 1 година
testautomation_rwops.c b903ccf945 SDL_rwops read/write functions return size_t again преди 1 година
testautomation_sdltest.c 4053876bf6 Fix warning drop const qualifier преди 2 години
testautomation_stdlib.c 39a961ba41 Added support for "%[]" sscanf syntax преди 1 година
testautomation_suites.h 973c8b3273 Added SDL properties API преди 1 година
testautomation_surface.c 65e1d568ef Fix various typos (docs/build scripts/tests) преди 1 година
testautomation_syswm.c c30903882b cmake+tests: include SDL_build_config.h in select tests + add include paths преди 2 години
testautomation_timer.c f45761908a Move check for SDL_Delay upper bounds to testtimer преди 1 година
testautomation_video.c 4368f70ff9 Added properties to various SDL objects преди 1 година
testbounds.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState преди 2 години
testcontroller.c 2a01f9dcb5 tests: plug leaks when running with --trackmem преди 1 година
testcustomcursor.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. преди 2 години
testdisplayinfo.c c699f3d1d8 Updated SDL high DPI support преди 1 година
testdraw.c a5d9db0cd0 cmake: build tests for UWP преди 1 година
testdrawchessboard.c 183606d3d4 testdrawchessboard: clean up renderer and window преди 1 година
testdropfile.c 2a01f9dcb5 tests: plug leaks when running with --trackmem преди 1 година
testerror.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. преди 2 години
testevdev.c 8b12585e1d testevdev: Add some examples of PDP third-party Switch controllers преди 1 година
testffmpeg.c 382751c4b5 testffmpeg: print usage of options to change audio/video codec преди 1 година
testffmpeg_videotoolbox.h d830cd140b Added support for 0-copy decode and display using Apple VideoToolbox преди 1 година
testffmpeg_videotoolbox.m d830cd140b Added support for 0-copy decode and display using Apple VideoToolbox преди 1 година
testfile.c 2a01f9dcb5 tests: plug leaks when running with --trackmem преди 1 година
testfilesystem.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState преди 2 години
testgeometry.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. преди 2 години
testgl.c ef4ce8cec5 test: Add flag to suspend drawing when occluded преди 1 година
testgles.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. преди 2 години
testgles2.c ef4ce8cec5 test: Add flag to suspend drawing when occluded преди 1 година
testgles2_sdf.c b4291412a4 tests: build tests with C90 standard преди 1 година
testgles2_sdf_img_normal.bmp 0e7d435f13 Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 преди 4 години
testgles2_sdf_img_sdf.bmp 0e7d435f13 Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 преди 4 години
testhaptic.c 6306ee9f42 List the available haptic devices in testhaptic преди 1 година
testhittesting.c 6e2851878f testhittesting: use SDLTest_Common for creating window(s) and renderer(s) преди 2 години
testhotplug.c 65e1d568ef Fix various typos (docs/build scripts/tests) преди 1 година
testiconv.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState преди 2 години
testime.c b903ccf945 SDL_rwops read/write functions return size_t again преди 1 година
testintersections.c 08d5235da0 testintersections: check integer argument + no global done + get final tick before SDL shutdown преди 2 години
testkeys.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState преди 2 години
testloadso.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState преди 2 години
testlocale.c b1a0bc3fb0 testlocale: only ininitialize video when needed преди 1 година
testlock.c 899eb0d042 thread: Locking mutexes and rwlocks are now void functions. преди 1 година
testmessage.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. преди 2 години
testmouse.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState преди 2 години
testmultiaudio.c 58c859f64d audio: Rename SDL_GetAudioStreamBinding to SDL_GetAudioStreamDevice. преди 1 година
testnative.c 2a01f9dcb5 tests: plug leaks when running with --trackmem преди 1 година
testnative.h 3472dc11d6 Fix uses of undefined macro identifiers (-Wundef) преди 2 години
testnativecocoa.m d3f2de7f29 fixed typo in prev. patch. преди 1 година
testnativew32.c fde78d12f2 Updated copyright for 2023 преди 2 години
testnativex11.c fde78d12f2 Updated copyright for 2023 преди 2 години
testoffscreen.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState преди 2 години
testoverlay.c 2bd478ae65 Added SDL_GetTextureDXGIResource() to get the DXGI resource associated with a render texture. преди 1 година
testplatform.c 65e1d568ef Fix various typos (docs/build scripts/tests) преди 1 година
testpopup.c b4291412a4 tests: build tests with C90 standard преди 1 година
testpower.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState преди 2 години
testqsort.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState преди 2 години
testrelative.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState преди 2 години
testrendercopyex.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. преди 2 години
testrendertarget.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. преди 2 години
testresample.c b903ccf945 SDL_rwops read/write functions return size_t again преди 1 година
testrumble.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState преди 2 години
testrwlock.c 899eb0d042 thread: Locking mutexes and rwlocks are now void functions. преди 1 година
testscale.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. преди 2 години
testsem.c 87ad71f9b2 Rename SDL mutex, semaphore and condition variable types to match SDL 3.0 naming convention преди 2 години
testsensor.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState преди 2 години
testshader.c f3261fedcc Code cleanup now that SDL_bool is equivalent to a C boolean expression преди 1 година
testshape.c 04edb38cdf shape: Use SDL[Test]_ReadSurfacePixel преди 1 година
testsprite.c 9c664b0062 main: Added _optional_ callback entry points. преди 1 година
testspriteminimal.c 4c3e84897f testspriteminimal: make standalone by embedding icon.bmp преди 1 година
teststreaming.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. преди 2 години
testsurround.c 2f43f7bc53 audio: Allow querying of device buffer size. преди 1 година
testthread.c cb73bed6eb SDL API renaming: SDL TLS functions преди 1 година
testtimer.c f45761908a Move check for SDL_Delay upper bounds to testtimer преди 1 година
testurl.c fde78d12f2 Updated copyright for 2023 преди 2 години
testutils.c 6c2472d459 Relicensed testutils to match other test code преди 1 година
testutils.h 6c2472d459 Relicensed testutils to match other test code преди 1 година
testver.c 4d86a83fa9 testver: don't allow any arguments преди 2 години
testviewport.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. преди 2 години
testvulkan.c d0d8b28df1 Change SDL_Vulkan_GetInstanceExtensions преди 1 година
testwm.c 2a01f9dcb5 tests: plug leaks when running with --trackmem преди 1 година
testyuv.bmp a6a4e27ae8 Updated SDL's YUV support, many thanks to Adrien Descamps преди 7 години
testyuv.c 2a01f9dcb5 tests: plug leaks when running with --trackmem преди 1 година
testyuv_cvt.c b4291412a4 tests: build tests with C90 standard преди 1 година
testyuv_cvt.h fde78d12f2 Updated copyright for 2023 преди 2 години
torturethread.c c101e719fd testprogram: let main() return normally, don't exit for platform (eg Android) where there is some cleanup afterward. преди 2 години
trashcan.bmp 2de9253b6c test: Added testaudio преди 1 година
unifont-13.0.06-license.txt f9bf1aeba8 Latest Unifont with OFL is now bundled. (#4268) преди 3 години
unifont-13.0.06.hex f9bf1aeba8 Latest Unifont with OFL is now bundled. (#4268) преди 3 години
utf8.txt 3dcb451f85 Added a README file regarding WinRT support преди 11 години

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!