You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sdl/test
Qrox 20e17559e5 Uses integer arithmetics in SDL_ResampleAudio
- Avoids precision loss caused by large floating point numbers.
- Adds unit test to test the signal-to-noise ratio and maximum error of resampler.
- Code cleanup
3 years ago
..
emscripten Fixed crash if initialization of EGL failed but was tried again later. 10 years ago
n3ds N3DS port (squashed) 3 years ago
nacl Fixed bug 3480 - minor update to NACL common.js 9 years ago
shapes Fixed crash if initialization of EGL failed but was tried again later. 10 years ago
CMakeLists.txt cmake: add time out to tests to avoid ci timeouts 3 years ago
COPYING Fixed crash if initialization of EGL failed but was tried again later. 10 years ago
Makefile.in Added a virtual joystick automated test 3 years ago
Makefile.os2 watcom: add ENABLE_WERROR option to makefiles 3 years ago
Makefile.w32 watcom: add ENABLE_WERROR option to makefiles 3 years ago
README testsurround: Add surround sound channel tester 4 years ago
acinclude.m4 revert replace AM_PATH_SDL2 usage with corresponding PKG_CHECK_MODULES. 3 years ago
autogen.sh minor tidy-up to configury. 3 years ago
axis.bmp Split controller axes into positive and negative sides so each can be bound independently. 9 years ago
button.bmp Fixed crash if initialization of EGL failed but was tried again later. 10 years ago
checkkeys.c Updated copyright for 2023 3 years ago
checkkeysthreads.c Updated copyright for 2023 3 years ago
configure revert replace AM_PATH_SDL2 usage with corresponding PKG_CHECK_MODULES. 3 years ago
configure.ac revert replace AM_PATH_SDL2 usage with corresponding PKG_CHECK_MODULES. 3 years ago
controllermap.bmp Be explicit about mapping the new game controller paddle buttons 5 years ago
controllermap.c Updated copyright for 2023 3 years ago
controllermap_back.bmp Be explicit about mapping the new game controller paddle buttons 5 years ago
icon.bmp Fixed crash if initialization of EGL failed but was tried again later. 10 years ago
loopwave.c Updated copyright for 2023 3 years ago
loopwavequeue.c Updated copyright for 2023 3 years ago
moose.dat Fixed crash if initialization of EGL failed but was tried again later. 10 years ago
picture.xbm Fixed crash if initialization of EGL failed but was tried again later. 10 years ago
relative_mode.markdown Fixed crash if initialization of EGL failed but was tried again later. 10 years ago
sample.bmp Fixed crash if initialization of EGL failed but was tried again later. 10 years ago
sample.wav Fixed crash if initialization of EGL failed but was tried again later. 10 years ago
template.test.in test: Install GNOME-style installed-tests metadata 3 years ago
testatomic.c Updated copyright for 2023 3 years ago
testaudiocapture.c Updated copyright for 2023 3 years ago
testaudiohotplug.c Updated copyright for 2023 3 years ago
testaudioinfo.c Updated copyright for 2023 3 years ago
testautomation.c Updated copyright for 2023 3 years ago
testautomation_audio.c Uses integer arithmetics in SDL_ResampleAudio 3 years ago
testautomation_clipboard.c Add support for X11 primary selection (#6132) 3 years ago
testautomation_events.c Fixed up legacy MoinMoin URLs at wiki.libsdl.org 5 years ago
testautomation_guid.c N3DS: Fix `-Wformat` warnings in tests. 3 years ago
testautomation_hints.c SDL_ResetHint() no longer clears the callbacks associated with a hint 3 years ago
testautomation_joystick.c Fixed build 3 years ago
testautomation_keyboard.c N3DS: Fix `-Wformat` warnings in tests. 3 years ago
testautomation_main.c automation_main.c: fix -Wformat-zero-length warning due to SDL_SetError("") 3 years ago
testautomation_math.c N3DS: Fix `-Wformat` warnings in tests. 3 years ago
testautomation_mouse.c N3DS: Fix `-Wformat` warnings in tests. 3 years ago
testautomation_pixels.c Silence `-Wmaybe-uninitialized` warnings in tests. 3 years ago
testautomation_platform.c N3DS: Fix `-Wformat` warnings in tests. 3 years ago
testautomation_rect.c Removed two distracting gcc-11 warnings 3 years ago
testautomation_render.c Don't compare pointer against '0', but NULL 3 years ago
testautomation_rwops.c Silence `-Wmaybe-uninitialized` warnings in tests. 3 years ago
testautomation_sdltest.c N3DS: Fix `-Wformat` warnings in tests. 3 years ago
testautomation_stdlib.c testautomation: avoid format related warnings by using a few pragma's 3 years ago
testautomation_suites.h Added a virtual joystick automated test 3 years ago
testautomation_surface.c Fix SDL_PIXELFORMAT_INDEX1LSB test case 3 years ago
testautomation_syswm.c Fixed crash if initialization of EGL failed but was tried again later. 10 years ago
testautomation_timer.c N3DS: Fix `-Wformat` warnings in tests. 3 years ago
testautomation_video.c Silence `-Wmaybe-uninitialized` warnings in tests. 3 years ago
testbounds.c Updated copyright for 2023 3 years ago
testcustomcursor.c Updated copyright for 2023 3 years ago
testdisplayinfo.c Updated copyright for 2023 3 years ago
testdraw2.c Updated copyright for 2023 3 years ago
testdrawchessboard.c Updated copyright for 2023 3 years ago
testdropfile.c Updated copyright for 2023 3 years ago
testerror.c Updated copyright for 2023 3 years ago
testevdev.c Updated copyright for 2023 3 years ago
testfile.c Updated copyright for 2023 3 years ago
testfilesystem.c Updated copyright for 2023 3 years ago
testgamecontroller.c Updated copyright for 2023 3 years ago
testgeometry.c Updated copyright for 2023 3 years ago
testgesture.c Updated copyright for 2023 3 years ago
testgl2.c Updated copyright for 2023 3 years ago
testgles.c Updated copyright for 2023 3 years ago
testgles2.c Updated copyright for 2023 3 years ago
testgles2_sdf.c Updated copyright for 2023 3 years ago
testgles2_sdf_img_normal.bmp Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 5 years ago
testgles2_sdf_img_sdf.bmp Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 5 years ago
testhaptic.c testhaptic: fix watcom "&array may not produce intended result" warning 3 years ago
testhittesting.c Fixed bug 3744 - missing SDLCALL in several functions 8 years ago
testhotplug.c Updated copyright for 2023 3 years ago
testiconv.c Updated copyright for 2023 3 years ago
testime.c testime.c fixes from SDL2 branch. 3 years ago
testintersections.c Updated copyright for 2023 3 years ago
testjoystick.c Updated copyright for 2023 3 years ago
testkeys.c Updated copyright for 2023 3 years ago
testloadso.c Updated copyright for 2023 3 years ago
testlocale.c Updated copyright for 2023 3 years ago
testlock.c Updated copyright for 2023 3 years ago
testmessage.c Updated copyright for 2023 3 years ago
testmouse.c Updated copyright for 2023 3 years ago
testmultiaudio.c Updated copyright for 2023 3 years ago
testnative.c Updated copyright for 2023 3 years ago
testnative.h Updated copyright for 2023 3 years ago
testnativecocoa.m Fixed crash if initialization of EGL failed but was tried again later. 10 years ago
testnativeos2.c Updated copyright for 2023 3 years ago
testnativew32.c Updated copyright for 2023 3 years ago
testnativex11.c Updated copyright for 2023 3 years ago
testoffscreen.c Updated copyright for 2023 3 years ago
testoverlay2.c Updated copyright for 2023 3 years ago
testplatform.c Updated copyright for 2023 3 years ago
testpower.c Updated copyright for 2023 3 years ago
testqsort.c Updated copyright for 2023 3 years ago
testrelative.c Updated copyright for 2023 3 years ago
testrendercopyex.c Updated copyright for 2023 3 years ago
testrendertarget.c Updated copyright for 2023 3 years ago
testresample.c Updated copyright for 2023 3 years ago
testrumble.c Updated copyright for 2023 3 years ago
testscale.c Updated copyright for 2023 3 years ago
testsem.c Updated copyright for 2023 3 years ago
testsensor.c Updated copyright for 2023 3 years ago
testshader.c Updated copyright for 2023 3 years ago
testshape.c Updated copyright for 2023 3 years ago
testsprite2.c Updated copyright for 2023 3 years ago
testspriteminimal.c Updated copyright for 2023 3 years ago
teststreaming.c Updated copyright for 2023 3 years ago
testsurround.c Updated copyright for 2023 3 years ago
testthread.c Updated copyright for 2023 3 years ago
testtimer.c Updated copyright for 2023 3 years ago
testurl.c Updated copyright for 2023 3 years ago
testutils.c Updated copyright for 2023 3 years ago
testutils.h Updated copyright for 2023 3 years ago
testver.c Updated copyright for 2023 3 years ago
testviewport.c Updated copyright for 2023 3 years ago
testvulkan.c Updated copyright for 2023 3 years ago
testwm2.c Updated copyright for 2023 3 years ago
testyuv.bmp Updated SDL's YUV support, many thanks to Adrien Descamps 8 years ago
testyuv.c Updated copyright for 2023 3 years ago
testyuv_cvt.c Updated copyright for 2023 3 years ago
testyuv_cvt.h Updated copyright for 2023 3 years ago
torturethread.c Updated copyright for 2023 3 years ago
unifont-13.0.06-license.txt Latest Unifont with OFL is now bundled. (#4268) 4 years ago
unifont-13.0.06.hex Latest Unifont with OFL is now bundled. (#4268) 4 years ago
utf8.txt Fixed crash if initialization of EGL failed but was tried again later. 10 years ago
watcom.mif tests, watcom: silence lots of W202 warnings from new vulkan headers. 3 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
	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!