Sam Lantinga cc1f9eb983 Use Apple's nomenclature for macOS and iOS преди 2 години
..
emscripten fe40a17224 Initial merge of Emscripten port! преди 10 години
n3ds 655275378d N3DS port (squashed) преди 2 години
shapes 3dcb451f85 Added a README file regarding WinRT support преди 11 години
CMakeLists.txt cd13600944 cmake: don't reset check state after pushing state преди 2 години
COPYING 3dcb451f85 Added a README file regarding WinRT support преди 11 години
README cd66c050fe testsurround: Add surround sound channel tester преди 3 години
axis.bmp 6d7da0887d Split controller axes into positive and negative sides so each can be bound independently. преди 8 години
button.bmp 3dcb451f85 Added a README file regarding WinRT support преди 11 години
checkkeys.c cc1f9eb983 Use Apple's nomenclature for macOS and iOS преди 2 години
checkkeysthreads.c cc1f9eb983 Use Apple's nomenclature for macOS and iOS преди 2 години
controllermap.bmp 009b62f1c2 Be explicit about mapping the new game controller paddle buttons преди 4 години
controllermap.c d080e3bf3a Silence `-Wmaybe-uninitialized` warnings in tests. преди 2 години
controllermap_back.bmp 009b62f1c2 Be explicit about mapping the new game controller paddle buttons преди 4 години
icon.bmp 3dcb451f85 Added a README file regarding WinRT support преди 11 години
loopwave.c d8884b845e emscripten: fix warnings in tests преди 2 години
loopwavequeue.c 76a7b629bf test: Add some common code to load test resources преди 3 години
moose.dat 3dcb451f85 Added a README file regarding WinRT support преди 11 години
picture.xbm 3dcb451f85 Added a README file regarding WinRT support преди 11 години
relative_mode.markdown bd61c276fa Fixed compiling test with older C. преди 10 години
sample.bmp 3dcb451f85 Added a README file regarding WinRT support преди 11 години
sample.wav 3dcb451f85 Added a README file regarding WinRT support преди 11 години
template.test.in ce502054ad test: Install GNOME-style installed-tests metadata преди 3 години
testatomic.c 345efdcb10 Wait for all the threads to actually finish before exiting преди 2 години
testaudiocapture.c 120c76c84b Updated copyright for 2022 преди 3 години
testaudiohotplug.c 76a7b629bf test: Add some common code to load test resources преди 3 години
testaudioinfo.c 0d6c4ff622 testaudioinfo: Initialize deviceName unconditionally преди 2 години
testautomation.c 28ecdc6bc7 No need to cast from char* to const char* преди 2 години
testautomation_audio.c 2c4159b99a First pass at changing SDL 2.0 to SDL 3.0 преди 2 години
testautomation_clipboard.c ac5b9bc4ee Add support for X11 primary selection (#6132) преди 2 години
testautomation_events.c da66755450 Fixed up legacy MoinMoin URLs at wiki.libsdl.org преди 4 години
testautomation_guid.c 6784d84c9d N3DS: Fix `-Wformat` warnings in tests. преди 2 години
testautomation_hints.c 64ea6cefaf SDL_ResetHint() no longer clears the callbacks associated with a hint преди 2 години
testautomation_joystick.c da478d1f66 Fixed build преди 2 години
testautomation_keyboard.c 6784d84c9d N3DS: Fix `-Wformat` warnings in tests. преди 2 години
testautomation_main.c 57c886551f automation_main.c: fix -Wformat-zero-length warning due to SDL_SetError("") преди 2 години
testautomation_math.c 0b8309da0c renamed SDL PI constants to SDL_PI_D and SDL_PI_F. преди 2 години
testautomation_mouse.c a5b0583b7c Add mouse test cases (#6563) преди 2 години
testautomation_pixels.c ac8fbb7040 Remove SDL_CalculateGammaRamp. преди 2 години
testautomation_platform.c 346eeba210 Removed SDL_GetRevisionNumber() преди 2 години
testautomation_rect.c 46624b4e1d Removed two distracting gcc-11 warnings преди 2 години
testautomation_render.c b7358e47d5 Don't compare pointer against '0', but NULL преди 2 години
testautomation_rwops.c 05139f4a2e Removed SDL_RWFromFP from the public API преди 2 години
testautomation_sdltest.c 6784d84c9d N3DS: Fix `-Wformat` warnings in tests. преди 2 години
testautomation_stdlib.c 274ec02581 testautomation: avoid format related warnings by using a few pragma's преди 2 години
testautomation_suites.h 7e2a996958 Added a virtual joystick automated test преди 2 години
testautomation_surface.c cc1f9eb983 Use Apple's nomenclature for macOS and iOS преди 2 години
testautomation_syswm.c b0840eb32e Updated SDL_syswm.h for SDL 3.0 преди 2 години
testautomation_timer.c 6784d84c9d N3DS: Fix `-Wformat` warnings in tests. преди 2 години
testautomation_video.c 52f4cc843d Remove SDL_SetWindowBrightness and SDL_SetWindowGammaRamp. преди 2 години
testbounds.c 120c76c84b Updated copyright for 2022 преди 3 години
testcustomcursor.c a905db9d65 testcustomcursor: fix Wswitch warning by casting the arg to an int преди 2 години
testdisplayinfo.c 120c76c84b Updated copyright for 2022 преди 3 години
testdraw2.c 120c76c84b Updated copyright for 2022 преди 3 години
testdrawchessboard.c 120c76c84b Updated copyright for 2022 преди 3 години
testdropfile.c cc1f9eb983 Use Apple's nomenclature for macOS and iOS преди 2 години
testerror.c 40bef98f8b test: Add a mode to skip tests that involve arbitrary delays преди 3 години
testevdev.c 7d230af51d testevdev: Explain why the test data is encoded the way it is преди 2 години
testfile.c cc1f9eb983 Use Apple's nomenclature for macOS and iOS преди 2 години
testfilesystem.c 643f9e56d0 Rename folder created in test_filesystem преди 2 години
testgamecontroller.c 0dfc829a6b Added simple BLE Steam Controller support on all platforms преди 2 години
testgeometry.c f3389f13ef testgeometry: fix conversion from 'double' to 'float', possible loss of data преди 2 години
testgesture.c 94e5c3f30e testgesture: display device name with SDL_GetTouchName() преди 3 години
testgl2.c 63243eb3a5 removed pandora support преди 2 години
testgles.c cc1f9eb983 Use Apple's nomenclature for macOS and iOS преди 2 години
testgles2.c cc1f9eb983 Use Apple's nomenclature for macOS and iOS преди 2 години
testgles2_sdf.c cc1f9eb983 Use Apple's nomenclature for macOS and iOS преди 2 години
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 d022039529 testhaptic: fix watcom "&array may not produce intended result" warning преди 2 години
testhittesting.c ca5c304814 Fixed bug 3744 - missing SDLCALL in several functions преди 7 години
testhotplug.c 6784d84c9d N3DS: Fix `-Wformat` warnings in tests. преди 2 години
testiconv.c b771d9beec tests: avoid MSVC preaching about unsafe functions преди 2 години
testime.c cc1f9eb983 Use Apple's nomenclature for macOS and iOS преди 2 години
testintersections.c 3c251ec41e testintersections: fix conversion from `time_t` to `unsigned int` преди 2 години
testjoystick.c cc1f9eb983 Use Apple's nomenclature for macOS and iOS преди 2 години
testkeys.c 120c76c84b Updated copyright for 2022 преди 3 години
testloadso.c 120c76c84b Updated copyright for 2022 преди 3 години
testlocale.c 120c76c84b Updated copyright for 2022 преди 3 години
testlock.c 120c76c84b Updated copyright for 2022 преди 3 години
testmessage.c cc1f9eb983 Use Apple's nomenclature for macOS and iOS преди 2 години
testmouse.c cc1f9eb983 Use Apple's nomenclature for macOS and iOS преди 2 години
testmultiaudio.c 76a7b629bf test: Add some common code to load test resources преди 3 години
testnative.c 8d6fda4810 removed os2 support & support for building SDL with watcom. преди 2 години
testnative.h b0840eb32e Updated SDL_syswm.h for SDL 3.0 преди 2 години
testnativecocoa.m 3dcb451f85 Added a README file regarding WinRT support преди 11 години
testnativew32.c b0840eb32e Updated SDL_syswm.h for SDL 3.0 преди 2 години
testnativex11.c b0840eb32e Updated SDL_syswm.h for SDL 3.0 преди 2 години
testoffscreen.c d8884b845e emscripten: fix warnings in tests преди 2 години
testoverlay2.c 76a7b629bf test: Add some common code to load test resources преди 3 години
testplatform.c 6784d84c9d N3DS: Fix `-Wformat` warnings in tests. преди 2 години
testpower.c 120c76c84b Updated copyright for 2022 преди 3 години
testqsort.c 0cca71a846 Use SDLCALL for callbacks in public APIs преди 2 години
testrelative.c ddad901c0d Remove unneeded semicolon преди 2 години
testrendercopyex.c 76a7b629bf test: Add some common code to load test resources преди 3 години
testrendertarget.c 6784d84c9d N3DS: Fix `-Wformat` warnings in tests. преди 2 години
testresample.c 120c76c84b Updated copyright for 2022 преди 3 години
testrumble.c 120c76c84b Updated copyright for 2022 преди 3 години
testscale.c 76a7b629bf test: Add some common code to load test resources преди 3 години
testsem.c 6784d84c9d N3DS: Fix `-Wformat` warnings in tests. преди 2 години
testsensor.c 6784d84c9d N3DS: Fix `-Wformat` warnings in tests. преди 2 години
testshader.c beecae31f6 testshader: use SDL_malloc instead of SDL_stack_alloc. преди 3 години
testshape.c 120c76c84b Updated copyright for 2022 преди 3 години
testsprite2.c 3b191580c3 Windows GDK Support (#5830) преди 2 години
testspriteminimal.c 18c776e155 testspriteminimal: fix conversion from `time_t` to `unsigned int` преди 2 години
teststreaming.c 76a7b629bf test: Add some common code to load test resources преди 3 години
testsurround.c 40bef98f8b test: Add a mode to skip tests that involve arbitrary delays преди 3 години
testthread.c 40bef98f8b test: Add a mode to skip tests that involve arbitrary delays преди 3 години
testtimer.c 6784d84c9d N3DS: Fix `-Wformat` warnings in tests. преди 2 години
testurl.c 0025621b80 Add a default URL in testurl преди 2 години
testutils.c 3e70553c48 Unneed test before calling SDL_FreeSurface преди 2 години
testutils.h 76a7b629bf test: Add some common code to load test resources преди 3 години
testver.c 2c4159b99a First pass at changing SDL 2.0 to SDL 3.0 преди 2 години
testviewport.c d8884b845e emscripten: fix warnings in tests преди 2 години
testvulkan.c 0b8309da0c renamed SDL PI constants to SDL_PI_D and SDL_PI_F. преди 2 години
testwm2.c 6784d84c9d N3DS: Fix `-Wformat` warnings in tests. преди 2 години
testyuv.bmp a6a4e27ae8 Updated SDL's YUV support, many thanks to Adrien Descamps преди 7 години
testyuv.c 6784d84c9d N3DS: Fix `-Wformat` warnings in tests. преди 2 години
testyuv_cvt.c 120c76c84b Updated copyright for 2022 преди 3 години
testyuv_cvt.h 120c76c84b Updated copyright for 2022 преди 3 години
torturethread.c 120c76c84b Updated copyright for 2022 преди 3 години
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
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!