Commit Graph

  • 07171be596 SDL_n3dsaudio.h: use triple buffering ds-sloth 2023-10-24 19:08:30 -04:00
  • 6efe957159 SDL_n3dsaudio.c: separate mixer locks from audio device locks ds-sloth 2023-10-24 19:06:49 -04:00
  • a5df48514e Added support for "%[]" sscanf syntax Sam Lantinga 2023-10-24 16:41:19 -07:00
  • 4194a902e8 Added support for "%[]" sscanf syntax Sam Lantinga 2023-10-24 16:41:19 -07:00
  • 39a961ba41 Added support for "%[]" sscanf syntax Sam Lantinga 2023-10-24 16:41:19 -07:00
  • 3823ba1ded n3ds systhread - use 80kb thread stack size as default, remove hard cap ds-sloth 2023-10-24 19:12:14 -04:00
  • 301ee21f33 n3ds systhread - prefer to put audio thread on system core ds-sloth 2023-10-24 19:11:41 -04:00
  • 6623c87d0b SDL_n3dsaudio.c - don't risk leaving current_priority uninitialized ds-sloth 2023-10-24 19:09:53 -04:00
  • 070f57820f SDL_n3dsaudio.h: use triple buffering ds-sloth 2023-10-24 19:08:30 -04:00
  • 62266dbd4f SDL_n3dsaudio.c: separate mixer locks from audio device locks ds-sloth 2023-10-24 19:06:49 -04:00
  • 124a0050b6 Fixed warning: no previous prototype for function 'SDL_UpdateAudio' Sam Lantinga 2023-10-24 14:22:41 -07:00
  • b16165a33f rwlock: SDL_UnlockRWLock was incorrectly tagged with SDL_RELEASE_SHARED. Ryan C. Gordon 2023-10-24 14:42:02 -04:00
  • 865dd04068 pulseaudio: Don't use a hash for device change detection. Ryan C. Gordon 2023-10-23 23:59:03 -04:00
  • b8cc51875a Fixed build Sam Lantinga 2023-10-23 19:36:14 -07:00
  • 0413e21e54 Fixed audio device removed events for ALSA Sam Lantinga 2023-10-23 19:03:13 -07:00
  • 5ba03d377a Revert "Fixed audio device removed events for ALSA" Sam Lantinga 2023-10-23 18:50:32 -07:00
  • a774694be0 pulseaudio: Simplified default device change detection code. Ryan C. Gordon 2023-10-23 22:01:05 -04:00
  • e57fef8f0b Fixed audio device removed events for ALSA Sam Lantinga 2023-10-23 18:42:48 -07:00
  • 4280d4b359 Fixed warning C4210: nonstandard extension used: function given file scope Sam Lantinga 2023-10-23 17:04:14 -07:00
  • 182cfc3265 pulseaudio: Rework how we manage default devices and hotplug. Ryan C. Gordon 2023-10-23 17:00:36 -04:00
  • b2ae1e835f pulseaudio: Change debug printf calls to use SDL_Log instead. Ryan C. Gordon 2023-10-23 12:47:36 -04:00
  • 38afd48daf Added a single source of SDL object IDs Sam Lantinga 2023-10-23 09:46:09 -07:00
  • 78d5fbf398 SDL_IsJoystickProductWheel() returns SDL_TRUE for Asetek wheelbases (thanks @IOBYTE!) Sam Lantinga 2023-10-23 10:42:36 -07:00
  • d47c286b12 SDL_IsJoystickProductWheel() returns SDL_TRUE for Asetek wheelbases (thanks @IOBYTE!) Sam Lantinga 2023-10-23 10:42:36 -07:00
  • e07f6c0a17 SDL_IsJoystickProductWheel() returns SDL_TRUE for Asetek wheelbases (thanks @IOBYTE!) Sam Lantinga 2023-10-23 10:42:36 -07:00
  • c98a14fdeb Renamed display added/removed events for consistency with the rest of the API Sam Lantinga 2023-10-23 08:59:07 -07:00
  • c2a3112b6f Added "--substring" to the help for rename_symbols.py Sam Lantinga 2023-10-23 08:36:05 -07:00
  • 5d66429cc3 Add missing error reporting in Android_JNI_FileOpen() Sam Lantinga 2023-10-23 08:27:24 -07:00
  • 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