Commit Graph

  • b3f19b14d7 Check for device disconnection in HIDAPI_JoystickOpen() Cameron Gutman 2023-10-17 21:41:30 -05:00
  • e55e556f32 alsa: Fixed minor memory leak. Ryan C. Gordon 2023-10-17 23:27:07 -04:00
  • b45a0d9016 Updated the documentation for SDL_LoadWAV_RW() Sam Lantinga 2023-10-17 14:06:40 -07:00
  • 4aab2342e9 Check for device disconnection in HIDAPI_JoystickOpen() Cameron Gutman 2023-10-17 21:41:30 -05:00
  • 435e7ce663 Check for device disconnection in HIDAPI_JoystickOpen() Cameron Gutman 2023-10-17 21:41:30 -05:00
  • b733adb503 audio: Fix device refcounting vs ProvidesOwnCallbackThread backends. Ryan C. Gordon 2023-10-16 20:17:04 -04:00
  • c6f08c2553 testaudio: Removed debugging code. Ryan C. Gordon 2023-10-16 15:25:34 -04:00
  • d5dac0ad27 testaudio: Deal with a texture being unexpectedly NULL when scaling. Ryan C. Gordon 2023-10-16 14:03:58 -04:00
  • b19e68c8ec testaudio: Properly display playback progress, regardless of data source. Ryan C. Gordon 2023-10-16 13:56:43 -04:00
  • 8c39269279 audio: Fix audio stream format when binding to a capture device. Ryan C. Gordon 2023-10-16 13:34:15 -04:00
  • f26b838a3e jack: Check for sample rate and buffer size changes from the server. Ryan C. Gordon 2023-10-16 13:10:27 -04:00
  • 063cb0df6b audio: Fixed comment typo. "deref" should be "unref" Ryan C. Gordon 2023-10-16 13:09:55 -04:00
  • 354611a0c6 testaudio: Fixed some bugs Valgrind pointed out. Ryan C. Gordon 2023-10-16 10:03:42 -04:00
  • a17f3ba916 audio: Reworked audio device disconnect management. Ryan C. Gordon 2023-10-16 09:46:34 -04:00
  • 6ddd96a4d0 Fix some wrong gamepad/controller event enums Zhile Zhu 2023-10-15 17:09:11 +02:00
  • 8df68b4120 hashtable: Moved over to single-line comments. Ryan C. Gordon 2023-10-15 15:41:04 -04:00
  • 1c6d996108 testaudio: if the SDL_Renderer is already gone, don't destroy SDL_Textures. Ryan C. Gordon 2023-10-14 23:17:59 -04:00
  • b22ffb9797 audio: Fix some logic errors in the new device hashtable code. Ryan C. Gordon 2023-10-14 23:10:50 -04:00
  • e526dc64bd Don't set unused variable Anonymous Maarten 2023-10-15 01:36:49 +02:00
  • 6664437748 hashtable: Don't rearrange bucket elements during SDL_FindInHashTable. Ryan C. Gordon 2023-10-14 13:52:50 -04:00
  • 8ac5c84ad1 audio: device thread shouldn't touch thread_alive after object is free'd. Ryan C. Gordon 2023-10-14 13:49:08 -04:00
  • b17151eb16 testaudio: Don't crash if renderer is NULL (happens during shutdown). Ryan C. Gordon 2023-10-14 13:43:22 -04:00
  • 7f408e57ee audio: Keep all available devices in a hashtable instead of linked lists. Ryan C. Gordon 2023-10-14 13:26:37 -04:00
  • 0aba2c97db hashtable: SDL_IterateHashTable might as well provide both key and value. Ryan C. Gordon 2023-10-14 13:23:03 -04:00
  • a85cf62c12 Fix sdltest_randomAsciiStringWithMaximumLength() where it requests a string a size 0 seen with: ./testautomation --seed MILAFAP2AKVP3V4G --filter sdltest_randomAsciiStringWithMaximumLength Sylvain 2023-03-21 12:24:45 +01:00
  • df6db90dd4 Fix sdltest_randomAsciiStringWithMaximumLength() where it requests a string a size 0 seen with: ./testautomation --seed MILAFAP2AKVP3V4G --filter sdltest_randomAsciiStringWithMaximumLength Sylvain 2023-03-21 12:24:45 +01:00
  • 95a9271dbf audio: Never lock a device while holding the device_list_lock. Ryan C. Gordon 2023-10-13 14:14:56 -04:00
  • d8b34b0993 pulseaudio: Stop the threaded mainloop before destroying the context. Ryan C. Gordon 2023-10-11 14:31:37 -04:00
  • 9aeabb0b05 Fix macOS build error by #8269 kanjitalk755 2023-10-13 10:50:10 +09:00
  • 382751c4b5 testffmpeg: print usage of options to change audio/video codec Anonymous Maarten 2023-10-13 02:30:14 +02:00
  • f91bde64d5 testffmpeg: Only enable blending if we're using a texture format that supports it Sam Lantinga 2023-10-12 14:26:46 -07:00
  • 516d6f9efc testffmpeg: added support for YUVA formats using swscale Sam Lantinga 2023-10-12 14:08:46 -07:00
  • ac71831350 Sync wiki -> headers Ryan C. Gordon 2023-10-12 15:20:53 -04:00
  • d18f910248 testffmpeg: added the ability to specify audio and video codecs Sam Lantinga 2023-10-12 11:38:14 -07:00
  • 72034b9a07 wayland: Fix primary selection handling when the protocol isn't supported Frank Praznik 2023-10-12 11:54:18 -04:00
  • e152129787 Fixes #8190. From #7249, reverted the hunks other than #7239. kanjitalk755 2023-09-09 09:10:06 +09:00
  • b79db0a6ea Fixed potential wraparound issue with property IDs Sam Lantinga 2023-10-12 06:22:34 -07:00
  • c9ccf0670c Add unsupported functions to dynapi Anonymous Maarten 2023-09-27 19:54:00 +02:00
  • 25ce87979d Always provide an implementation for all SDL3 symbols Anonymous Maarten 2023-09-27 06:11:09 +02:00
  • 3a36433a3c cmake: test -Wl,--version-script with minimal version script Anonymous Maarten 2023-09-20 04:24:08 +02:00
  • 0efa196989 dynapi: implement SDL_DYNAPI_entry even when building SDL without dynapi support Anonymous Maarten 2023-09-27 05:14:14 +02:00
  • bf64fecf19 testffmpeg: allow resizing of the video window Sam Lantinga 2023-10-12 00:01:02 -07:00
  • efa9a45048 Clarified that testffmpeg will resize the window to the video size Sam Lantinga 2023-10-11 23:38:08 -07:00
  • 4368f70ff9 Added properties to various SDL objects Sam Lantinga 2023-10-11 16:59:51 -07:00
  • 973c8b3273 Added SDL properties API Sam Lantinga 2023-10-10 12:38:22 -07:00
  • 2bca4671a6 audio: Allow audio streams to be created when the subsystem isn't initialized. Ryan C. Gordon 2023-10-11 22:42:52 -04:00
  • 1ae33f6751 cmake: optionally install pdb's Anonymous Maarten 2023-10-12 00:49:43 +02:00
  • 0d5cad91b1 We need audio converters initialized in SDL_InitAudio() Sam Lantinga 2023-10-11 15:10:09 -07:00
  • 1c3a0ade74 audio: Whoops, this stream format change is only for capture devices. Ryan C. Gordon 2023-10-11 15:11:20 -04:00
  • 10fab3a39e pulseaudio: Stop the threaded mainloop before destroying the context. Ryan C. Gordon 2023-10-11 14:31:37 -04:00
  • 0b71898cb1 Make it clear that the string comparison isn't a boolean check Sam Lantinga 2023-10-11 10:18:12 -07:00
  • 6c8ad975c7 Like mutexes, operations on NULL rwlocks are no-ops Sam Lantinga 2023-10-11 09:49:44 -07:00
  • c552cc6847 We don't require the audio system to be initialized for audio format conversion Sam Lantinga 2023-10-11 09:23:23 -07:00
  • 9a5f7b17c6 Use SDL wrapped getenv function Frank Praznik 2023-10-11 11:23:24 -04:00
  • 044046bc50 audio: Fixed assertions when capture devices have wrong audio formats. Ryan C. Gordon 2023-10-11 10:37:28 -04:00
  • bb2f767f5d testaudio: Make program usable without a 3-button mouse. Ryan C. Gordon 2023-10-11 10:01:52 -04:00
  • 321fc18417 README-migration.md: Added note about SDL_HasRDTSC removal. Ryan C. Gordon 2023-10-11 01:20:18 -04:00
  • 5be746acbc x11: Properly check for XInput2 support before using it. Ryan C. Gordon 2023-10-11 00:50:53 -04:00
  • 2849ca404e x11: Properly check for XInput2 support before using it. Ryan C. Gordon 2023-10-11 00:50:53 -04:00
  • 82f54af617 x11: Properly check for XInput2 support before using it. Ryan C. Gordon 2023-10-11 00:50:53 -04:00
  • b654427537 Added support for the PowerA Nintendo Switch Nano Wired Controller Sam Lantinga 2023-10-10 17:04:00 -07:00
  • dc2a5f6ab2 Fixed error C2054: expected '(' to follow 'inline' Sam Lantinga 2023-10-10 16:38:12 -07:00
  • a7ae1de9a6 Fixed warning C4028: formal parameter different from declaration Sam Lantinga 2023-10-10 16:37:17 -07:00
  • 3a47fb7208 The sensor and joystick instance ID generator isn't guarded by a lock. Sam Lantinga 2023-10-10 15:46:15 -07:00
  • 2abefb1c16 ci: stop FreeBSD job after 30 minutes Anonymous Maarten 2023-10-11 00:22:30 +02:00
  • e417c6cffe ci: stop FreeBSD job after 30 minutes Anonymous Maarten 2023-10-11 00:22:30 +02:00
  • aee4862958 ci: stop FreeBSD job after 30 minutes Anonymous Maarten 2023-10-11 00:22:30 +02:00
  • 99fa0d6cae Disable low latency audio by default when using AAudio on Android Sam Lantinga 2023-10-10 15:17:58 -07:00
  • ebfbd7327b testffmpeg: use SDL_test to parse arguments and track memory Anonymous Maarten 2023-10-10 20:52:12 +02:00
  • ee53e4d319 cmake: check ffmpeg capability instead of version Anonymous Maarten 2023-10-10 20:36:58 +02:00
  • 2d62c65a75 Fixed build warning Sam Lantinga 2023-10-10 12:37:38 -07:00
  • bf72704bfd audio: Disable NEON sample conversion until test failures are fixed Simon McVittie 2023-10-10 17:38:23 +01:00
  • 0fe95cfba3 Sync wiki -> header Ryan C. Gordon 2023-10-10 10:49:24 -04:00
  • 32587bd7de Sync wiki -> header Ryan C. Gordon 2023-10-10 10:19:34 -04:00
  • adcace6f95 Added a "--software" option to testffmpeg Sam Lantinga 2023-10-10 04:06:44 -07:00
  • 86ada8a9f0 fix testffmpeg.c build. Ozkan Sezer 2023-10-10 14:02:40 +03:00
  • 303f4e965c testffmpeg works with ffmpeg 5.1.3 and newer Sam Lantinga 2023-10-10 03:58:57 -07:00
  • 2bd478ae65 Added SDL_GetTextureDXGIResource() to get the DXGI resource associated with a render texture. Sam Lantinga 2023-10-10 00:04:45 -07:00
  • a842446f62 Added support for 0-copy decode and display using D3D11 Sam Lantinga 2023-10-09 21:02:27 -07:00
  • d830cd140b Added support for 0-copy decode and display using Apple VideoToolbox Sam Lantinga 2023-10-09 17:55:06 -07:00
  • 1bf913b29a Added support for 0-copy decode and display using VAAPI and EGL Sam Lantinga 2023-10-09 12:27:56 -07:00
  • ce8161e0cf Make sure we're building with ffmpeg 6.0 or newer Sam Lantinga 2023-10-07 13:08:15 -07:00
  • ed6381b68d Allow setting any number of sprites over the video Sam Lantinga 2023-10-07 13:01:52 -07:00
  • ebf5e08fa1 cmake: use *_STATIC_* variables when linking to a static ffmpeg Anonymous Maarten 2023-10-07 18:20:24 +02:00
  • 88f2fb9dcf Added an example of video decoding with ffmpeg Sam Lantinga 2023-10-07 02:01:35 -07:00
  • d88bf687a8 surface: Document the in-memory layout of the pixels Simon McVittie 2023-09-29 15:54:32 +01:00
  • 3698630bbc pixels: Document the naming convention Simon McVittie 2023-09-29 15:49:24 +01:00
  • 04edb38cdf shape: Use SDL[Test]_ReadSurfacePixel Simon McVittie 2023-10-02 19:50:47 +01:00
  • f5745c3a67 surface: Add a private SDL_ReadSurfacePixel Simon McVittie 2023-10-02 19:45:49 +01:00
  • 0d68f45879 test: Extract SDLTest_ReadSurfacePixel Simon McVittie 2023-10-02 19:43:44 +01:00
  • b7a0ef6bdf artsaudio: revert bad arts_init return code check from commit ce5da5d. Ozkan Sezer 2023-10-10 10:40:20 +03:00
  • 6fc17b0e2b artsaudio: revert bad arts_init return code check from commit ce5da5d. Ozkan Sezer 2023-10-10 10:40:00 +03:00
  • 55a1458ed0 audio: Changes to one logical device must update all sibling logical devices. Ryan C. Gordon 2023-10-09 20:28:58 -04:00
  • 8e03ea4383 hashtable: Use Create/Destroy naming, in the SDL3 style. Ryan C. Gordon 2023-10-09 19:20:43 -04:00
  • 568902b64e hashtable: Added src/SDL_hashtable.[ch]. Ryan C. Gordon 2023-10-09 19:17:05 -04:00
  • 8745a9949b add-source-to-projects.pl: Fix adding files in the base src dir. Ryan C. Gordon 2023-10-09 19:15:54 -04:00
  • 7010452062 tests: Disable mouse warp test under Wayland Frank Praznik 2023-10-02 19:29:02 -04:00
  • e8c915dacc wayland: Try to skip the Wayland driver if not connecting to or in a Wayland session Frank Praznik 2023-10-09 11:44:32 -04:00
  • 836927edf8 wayland: Try to skip the Wayland driver if not connecting to or in a Wayland session Frank Praznik 2023-10-09 11:44:32 -04:00
  • 25b0081367 Backport #7697 to SDL 2 KWottrich 2023-10-02 13:45:34 -05:00