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

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!