SDL/test
Sam Lantinga ac0751a652 Added SDL_strnstr() 2023-12-03 15:06:46 -08:00
..
android
emscripten
n3ds
uwp
CMakeLists.txt cmake: copy sources to binary directory in separate target 2023-11-28 22:16:54 +01:00
COPYING
README
audiofile.bmp
checkkeys.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
checkkeysthreads.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
gamepad_axis.bmp
gamepad_axis.h
gamepad_axis_arrow.bmp
gamepad_axis_arrow.h
gamepad_back.bmp
gamepad_back.h
gamepad_battery_empty.bmp
gamepad_battery_empty.h
gamepad_battery_full.bmp
gamepad_battery_full.h
gamepad_battery_low.bmp
gamepad_battery_low.h
gamepad_battery_medium.bmp
gamepad_battery_medium.h
gamepad_battery_unknown.bmp
gamepad_battery_unknown.h
gamepad_battery_wired.bmp
gamepad_battery_wired.h
gamepad_button.bmp
gamepad_button.h
gamepad_button_background.bmp
gamepad_button_background.h
gamepad_button_small.bmp
gamepad_button_small.h
gamepad_face_abxy.bmp
gamepad_face_abxy.h
gamepad_face_bayx.bmp
gamepad_face_bayx.h
gamepad_face_sony.bmp
gamepad_face_sony.h
gamepad_front.bmp
gamepad_front.h
gamepad_touchpad.bmp
gamepad_touchpad.h
gamepadutils.c We'll just use the legacy names for face buttons in the mappings 2023-11-15 22:09:09 -08:00
gamepadutils.h SDL now represents gamepad buttons as positional elements with a separate label 2023-11-10 12:21:43 -08:00
icon.bmp
icon.h
logaudiodev.bmp
loopwave.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
main.cpp
moose.dat
physaudiodev.bmp
picture.xbm
pretest.c
relative_mode.markdown
sample.bmp
sample.wav
soundboard.bmp
soundboard_levels.bmp
speaker.bmp
template.test.in
testatomic.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testaudio-art.txt
testaudio.c Re-add SDL_assert() with non boolean ptr syntax (#8530) 2023-11-11 12:28:24 +03:00
testaudiocapture.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testaudiohotplug.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testaudioinfo.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testaudiostreamdynamicresample.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testautomation.c API for pressure-sensitive pens + XInput2/Wayland 2023-11-12 09:52:02 -08:00
testautomation_audio.c docs: Remove Doxygen `\brief` tags. 2023-11-06 10:26:06 -05:00
testautomation_clipboard.c docs: Remove Doxygen `\brief` tags. 2023-11-06 10:26:06 -05:00
testautomation_events.c docs: Remove Doxygen `\brief` tags. 2023-11-06 10:26:06 -05:00
testautomation_guid.c docs: Remove Doxygen `\brief` tags. 2023-11-06 10:26:06 -05:00
testautomation_hints.c SDL_CreateWindowFrom() now takes a set of properties that describe the native window and options. 2023-11-12 21:58:58 -08:00
testautomation_images.c docs: Remove Doxygen `\brief` tags. 2023-11-06 10:26:06 -05:00
testautomation_images.h
testautomation_intrinsics.c docs: Remove Doxygen `\brief` tags. 2023-11-06 10:26:06 -05:00
testautomation_joystick.c Update virtual joystick test now that we're just using abxy for mappings, for compatibility 2023-11-16 00:02:47 -08:00
testautomation_keyboard.c docs: Remove Doxygen `\brief` tags. 2023-11-06 10:26:06 -05:00
testautomation_main.c docs: Remove Doxygen `\brief` tags. 2023-11-06 10:26:06 -05:00
testautomation_math.c docs: Remove Doxygen `\brief` tags. 2023-11-06 10:26:06 -05:00
testautomation_mouse.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testautomation_pen.c API for pressure-sensitive pens + XInput2/Wayland 2023-11-12 09:52:02 -08:00
testautomation_pixels.c Add SDL_PIXELFORMAT_INDEX2LSB and SDL_PIXELFORMAT_INDEX2MSB 2023-11-17 08:45:32 -08:00
testautomation_platform.c docs: Remove Doxygen `\brief` tags. 2023-11-06 10:26:06 -05:00
testautomation_properties.c Allow casting properties of different types 2023-11-12 21:58:58 -08:00
testautomation_rect.c docs: Remove Doxygen `\brief` tags. 2023-11-06 10:26:06 -05:00
testautomation_render.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testautomation_rwops.c docs: Remove Doxygen `\brief` tags. 2023-11-06 10:26:06 -05:00
testautomation_sdltest.c docs: Remove Doxygen `\brief` tags. 2023-11-06 10:26:06 -05:00
testautomation_stdlib.c Added SDL_strnstr() 2023-12-03 15:06:46 -08:00
testautomation_subsystems.c docs: Remove Doxygen `\brief` tags. 2023-11-06 10:26:06 -05:00
testautomation_suites.h API for pressure-sensitive pens + XInput2/Wayland 2023-11-12 09:52:02 -08:00
testautomation_surface.c Add SDL_PIXELFORMAT_INDEX2LSB and SDL_PIXELFORMAT_INDEX2MSB 2023-11-17 08:45:32 -08:00
testautomation_timer.c docs: Remove Doxygen `\brief` tags. 2023-11-06 10:26:06 -05:00
testautomation_video.c Renamed SDL_WINDOW_FOREIGN to SDL_WINDOW_EXTERNAL 2023-11-14 06:06:51 -08:00
testbounds.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testcontroller.c gamepad: Replace GetNumMappings/GetMappingByIndex with a single function. 2023-11-29 20:50:44 -05:00
testcustomcursor.c Add cursors for X11/Wayland window resizing 2023-11-21 08:34:13 -08:00
testdisplayinfo.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testdraw.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testdrawchessboard.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testdropfile.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testerror.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testevdev.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testffmpeg.c error: SDL's allocators now call SDL_OutOfMemory on error. 2023-11-30 00:14:27 -05:00
testffmpeg_videotoolbox.h Added support for 0-copy decode and display using Apple VideoToolbox 2023-10-10 03:32:46 -07:00
testffmpeg_videotoolbox.m Added support for 0-copy decode and display using Apple VideoToolbox 2023-10-10 03:32:46 -07:00
testfile.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testfilesystem.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testgeometry.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testgl.c x11: Deal with difference in GLX_EXT_swap_control_tear behavior. 2023-11-23 13:56:51 -05:00
testgles.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testgles2.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testgles2_sdf.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testgles2_sdf_img_normal.bmp
testgles2_sdf_img_sdf.bmp
testhaptic.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testhittesting.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testhotplug.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testiconv.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testime.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testintersections.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testkeys.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testloadso.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testlocale.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testlock.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testmessage.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testmouse.c Fix scroll wheel handling in testmouse 2023-11-28 14:41:16 -08:00
testmultiaudio.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testnative.c Renamed SDL_WINDOW_FOREIGN to SDL_WINDOW_EXTERNAL 2023-11-14 06:06:51 -08:00
testnative.h
testnativecocoa.m
testnativew32.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testnativex11.c
testoffscreen.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testoverlay.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testpen.c API for pressure-sensitive pens + XInput2/Wayland 2023-11-12 09:52:02 -08:00
testplatform.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testpopup.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testpower.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testqsort.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testrelative.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testrendercopyex.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testrendertarget.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testresample.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testrumble.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testrwlock.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testscale.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testsem.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testsensor.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testshader.c testshader: Don't make local variables with the same name as GL entry points. 2023-11-20 15:12:37 -05:00
testshape.c error: SDL's allocators now call SDL_OutOfMemory on error. 2023-11-30 00:14:27 -05:00
testsprite.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testspriteminimal.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
teststreaming.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testsurround.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testthread.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testtimer.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testurl.c
testutils.c error: SDL's allocators now call SDL_OutOfMemory on error. 2023-11-30 00:14:27 -05:00
testutils.h
testver.c
testvideocapture.c SDL_VideoCapture: allow add/remove device at runtime on linux 2023-11-27 16:01:10 -05:00
testvideocaptureminimal.c SDL_VideoCapture: allow add/remove device at runtime on linux 2023-11-27 16:01:10 -05:00
testviewport.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testvulkan.c error: SDL's allocators now call SDL_OutOfMemory on error. 2023-11-30 00:14:27 -05:00
testwm.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testyuv.bmp
testyuv.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
testyuv_cvt.c
testyuv_cvt.h
torturethread.c Pointer as bool (libsdl-org#7214) 2023-11-09 14:18:36 -08:00
trashcan.bmp
unifont-13.0.06-license.txt
unifont-13.0.06.hex
utf8.txt

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!