Commit Graph

  • 259009a7ea Add missing error reporting in Android_JNI_FileOpen() Sam Lantinga 2023-10-23 08:27:24 -07:00
  • a844d90942 Add missing error reporting in Android_JNI_FileOpen() Sam Lantinga 2023-10-23 08:27:24 -07:00
  • 4ac38d13dd alsa: Don't touch free'd memory in hotplug thread. Ryan C. Gordon 2023-10-23 00:59:40 -04:00
  • 43d41c9dcb audio: Another attempt to make device add/remove work vs event watchers. Ryan C. Gordon 2023-10-23 00:38:41 -04:00
  • 9abc692156 audio: Another attempt to deal with device destruction from device thread. Ryan C. Gordon 2023-10-22 17:01:49 -04:00
  • 33c9eeec7c Revert "audio: Device threads don't increment physical device refcounts." Ryan C. Gordon 2023-10-22 16:14:01 -04:00
  • 90255914a8 cmake: install pdb's when present Anonymous Maarten 2023-10-22 16:11:40 +02:00
  • 2ca041d294 Revert "Check to make sure the Windows joystick device has buttons and axes" Sam Lantinga 2023-10-22 09:10:14 -07:00
  • e3e41b69a1 Revert "Check to make sure the Windows joystick device has buttons and axes" Sam Lantinga 2023-10-22 09:10:14 -07:00
  • e5a15f94e2 Revert "Check to make sure the Windows joystick device has buttons and axes" Sam Lantinga 2023-10-22 09:10:14 -07:00
  • 70fd8e2ba2 Lock joysticks when adding gamepad mappings Sam Lantinga 2023-10-19 22:35:53 -07:00
  • 76f81797b7 audio: Device threads don't increment physical device refcounts. Ryan C. Gordon 2023-10-19 15:44:58 -04:00
  • 594fda4120 Sync SDL3 wiki -> header SDL Wiki Bot 2023-10-19 17:13:15 +00:00
  • 0d7c5a2c56 Updated Android API documentation Sam Lantinga 2023-10-19 10:12:34 -07:00
  • 0df888c584 Moved Android low latency audio behind a hint "SDL_ANDROID_LOW_LATENCY_AUDIO" Sam Lantinga 2023-10-19 08:54:11 -07:00
  • 142366c837 Sync SDL3 wiki -> header SDL Wiki Bot 2023-10-19 14:03:06 +00:00
  • 44d8721087 Allow building against old Linux kernels. Ozkan Sezer 2023-06-26 18:01:50 +03:00
  • 3a4c9d6990 Fixed build error when API logging is enabled Sam Lantinga 2023-10-18 22:30:16 -07:00
  • 1f8f82b379 Removed redundant thread-safety information Sam Lantinga 2023-10-18 22:19:50 -07:00
  • a6edc75fe7 Sync SDL3 wiki -> header SDL Wiki Bot 2023-10-19 05:18:12 +00:00
  • 3c8edeb79b Clarified SDL property thread-safety information Sam Lantinga 2023-10-18 22:17:02 -07:00
  • 4fa821cb3e Sync SDL3 wiki -> header SDL Wiki Bot 2023-10-19 05:14:13 +00:00
  • 1c70760c0b Added thread-safety information for the new SDL properties API Sam Lantinga 2023-10-18 22:13:33 -07:00
  • 15533dce05 Cleaned up warnings from check_stdlib_usage.py Sam Lantinga 2023-10-18 21:37:59 -07:00
  • bf269571fc jack: Removed FIXME comment that has since been fixed. Ryan C. Gordon 2023-10-18 15:47:01 -04:00
  • 797b70877d audio: Remove stub header SDL_audio_c.h. Ryan C. Gordon 2023-10-18 15:46:07 -04:00
  • 9d7c57234a audio: Cleaned out most remaining /* */ comments for // style. Ryan C. Gordon 2023-10-18 15:35:09 -04:00
  • 0ff67dc21b video: Fix compiler warning about SDL_ReadSurfacePixel not being declared. Ryan C. Gordon 2023-10-18 15:02:01 -04:00
  • 81c77396af opensles: Patched to compile. Ryan C. Gordon 2023-10-18 14:56:32 -04:00
  • 442e84916a opensles: Fixed capitalization to match other SDL backends. Ryan C. Gordon 2023-10-18 13:57:32 -04:00
  • 34914bfb49 alsa: Clean up device handles, now that hotplug thread cleanup is in place. Ryan C. Gordon 2023-10-18 13:53:42 -04:00
  • 48d80efb51 Fixed warning C4701: potentially uninitialized local variable 'props' used Sam Lantinga 2023-10-18 09:04:05 -07:00
  • f7dc63bcc3 audio: another windows wasapi build fix. Ozkan Sezer 2023-10-18 18:32:00 +03:00
  • dd98330076 audio: fix windows wasapi build. Ozkan Sezer 2023-10-18 18:20:00 +03:00
  • 7a52f7b3fd audio: Split Deinitialize into two stages. Ryan C. Gordon 2023-10-18 10:41:20 -04:00
  • 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